///////////////////////////////////////////////////////////////////////////////
// vim:         sw=4 ts=4
// Description: Encoding Test Cases for GB18030
// Copyright:   2013-2023  JiaYanwei   <wxmedit@gmail.com>
// License:     GPLv3
///////////////////////////////////////////////////////////////////////////////
#include "data_multibyte_conv.h"

static const std::string enc_gb18030("GB18030");

void db2bmp_00_gb18030_init()
{
static MB2UData db2bmp_00_gb18030 [] = { {"", 0}, 
{"\x01"    , 0x000001}, {"\x02"    , 0x000002}, {"\x03"    , 0x000003}, {"\x04"    , 0x000004}, 
{"\x05"    , 0x000005}, {"\x06"    , 0x000006}, {"\x07"    , 0x000007}, {"\x08"    , 0x000008}, 
{"\x09"    , 0x000009}, {"\x0A"    , 0x00000A}, {"\x0B"    , 0x00000B}, {"\x0C"    , 0x00000C}, 
{"\x0D"    , 0x00000D}, {"\x0E"    , 0x00000E}, {"\x0F"    , 0x00000F}, {"\x10"    , 0x000010}, 
{"\x11"    , 0x000011}, {"\x12"    , 0x000012}, {"\x13"    , 0x000013}, {"\x14"    , 0x000014}, 
{"\x15"    , 0x000015}, {"\x16"    , 0x000016}, {"\x17"    , 0x000017}, {"\x18"    , 0x000018}, 
{"\x19"    , 0x000019}, {"\x1A"    , 0x00001A}, {"\x1B"    , 0x00001B}, {"\x1C"    , 0x00001C}, 
{"\x1D"    , 0x00001D}, {"\x1E"    , 0x00001E}, {"\x1F"    , 0x00001F}, {"\x20"    , 0x000020}, 
{"\x21"    , 0x000021}, {"\x22"    , 0x000022}, {"\x23"    , 0x000023}, {"\x24"    , 0x000024}, 
{"\x25"    , 0x000025}, {"\x26"    , 0x000026}, {"\x27"    , 0x000027}, {"\x28"    , 0x000028}, 
{"\x29"    , 0x000029}, {"\x2A"    , 0x00002A}, {"\x2B"    , 0x00002B}, {"\x2C"    , 0x00002C}, 
{"\x2D"    , 0x00002D}, {"\x2E"    , 0x00002E}, {"\x2F"    , 0x00002F}, {"\x30"    , 0x000030}, 
{"\x31"    , 0x000031}, {"\x32"    , 0x000032}, {"\x33"    , 0x000033}, {"\x34"    , 0x000034}, 
{"\x35"    , 0x000035}, {"\x36"    , 0x000036}, {"\x37"    , 0x000037}, {"\x38"    , 0x000038}, 
{"\x39"    , 0x000039}, {"\x3A"    , 0x00003A}, {"\x3B"    , 0x00003B}, {"\x3C"    , 0x00003C}, 
{"\x3D"    , 0x00003D}, {"\x3E"    , 0x00003E}, {"\x3F"    , 0x00003F}, {"\x40"    , 0x000040}, 
{"\x41"    , 0x000041}, {"\x42"    , 0x000042}, {"\x43"    , 0x000043}, {"\x44"    , 0x000044}, 
{"\x45"    , 0x000045}, {"\x46"    , 0x000046}, {"\x47"    , 0x000047}, {"\x48"    , 0x000048}, 
{"\x49"    , 0x000049}, {"\x4A"    , 0x00004A}, {"\x4B"    , 0x00004B}, {"\x4C"    , 0x00004C}, 
{"\x4D"    , 0x00004D}, {"\x4E"    , 0x00004E}, {"\x4F"    , 0x00004F}, {"\x50"    , 0x000050}, 
{"\x51"    , 0x000051}, {"\x52"    , 0x000052}, {"\x53"    , 0x000053}, {"\x54"    , 0x000054}, 
{"\x55"    , 0x000055}, {"\x56"    , 0x000056}, {"\x57"    , 0x000057}, {"\x58"    , 0x000058}, 
{"\x59"    , 0x000059}, {"\x5A"    , 0x00005A}, {"\x5B"    , 0x00005B}, {"\x5C"    , 0x00005C}, 
{"\x5D"    , 0x00005D}, {"\x5E"    , 0x00005E}, {"\x5F"    , 0x00005F}, {"\x60"    , 0x000060}, 
{"\x61"    , 0x000061}, {"\x62"    , 0x000062}, {"\x63"    , 0x000063}, {"\x64"    , 0x000064}, 
{"\x65"    , 0x000065}, {"\x66"    , 0x000066}, {"\x67"    , 0x000067}, {"\x68"    , 0x000068}, 
{"\x69"    , 0x000069}, {"\x6A"    , 0x00006A}, {"\x6B"    , 0x00006B}, {"\x6C"    , 0x00006C}, 
{"\x6D"    , 0x00006D}, {"\x6E"    , 0x00006E}, {"\x6F"    , 0x00006F}, {"\x70"    , 0x000070}, 
{"\x71"    , 0x000071}, {"\x72"    , 0x000072}, {"\x73"    , 0x000073}, {"\x74"    , 0x000074}, 
{"\x75"    , 0x000075}, {"\x76"    , 0x000076}, {"\x77"    , 0x000077}, {"\x78"    , 0x000078}, 
{"\x79"    , 0x000079}, {"\x7A"    , 0x00007A}, {"\x7B"    , 0x00007B}, {"\x7C"    , 0x00007C}, 
{"\x7D"    , 0x00007D}, {"\x7E"    , 0x00007E}, {"\x7F"    , 0x00007F}, {"\x81\x40", 0x004E02}, 
{"\x81\x41", 0x004E04}, {"\x81\x42", 0x004E05}, {"\x81\x43", 0x004E06}, {"\x81\x44", 0x004E0F}, 
{"\x81\x45", 0x004E12}, {"\x81\x46", 0x004E17}, {"\x81\x47", 0x004E1F}, {"\x81\x48", 0x004E20}, 
{"\x81\x49", 0x004E21}, {"\x81\x4A", 0x004E23}, {"\x81\x4B", 0x004E26}, {"\x81\x4C", 0x004E29}, 
{"\x81\x4D", 0x004E2E}, {"\x81\x4E", 0x004E2F}, {"\x81\x4F", 0x004E31}, {"\x81\x50", 0x004E33}, 
{"\x81\x51", 0x004E35}, {"\x81\x52", 0x004E37}, {"\x81\x53", 0x004E3C}, {"\x81\x54", 0x004E40}, 
{"\x81\x55", 0x004E41}, {"\x81\x56", 0x004E42}, {"\x81\x57", 0x004E44}, {"\x81\x58", 0x004E46}, 
{"\x81\x59", 0x004E4A}, {"\x81\x5A", 0x004E51}, {"\x81\x5B", 0x004E55}, {"\x81\x5C", 0x004E57}, 
{"\x81\x5D", 0x004E5A}, {"\x81\x5E", 0x004E5B}, {"\x81\x5F", 0x004E62}, {"\x81\x60", 0x004E63}, 
{"\x81\x61", 0x004E64}, {"\x81\x62", 0x004E65}, {"\x81\x63", 0x004E67}, {"\x81\x64", 0x004E68}, 
{"\x81\x65", 0x004E6A}, {"\x81\x66", 0x004E6B}, {"\x81\x67", 0x004E6C}, {"\x81\x68", 0x004E6D}, 
{"\x81\x69", 0x004E6E}, {"\x81\x6A", 0x004E6F}, {"\x81\x6B", 0x004E72}, {"\x81\x6C", 0x004E74}, 
{"\x81\x6D", 0x004E75}, {"\x81\x6E", 0x004E76}, {"\x81\x6F", 0x004E77}, {"\x81\x70", 0x004E78}, 
{"\x81\x71", 0x004E79}, {"\x81\x72", 0x004E7A}, {"\x81\x73", 0x004E7B}, {"\x81\x74", 0x004E7C}, 
{"\x81\x75", 0x004E7D}, {"\x81\x76", 0x004E7F}, {"\x81\x77", 0x004E80}, {"\x81\x78", 0x004E81}, 
{"\x81\x79", 0x004E82}, {"\x81\x7A", 0x004E83}, {"\x81\x7B", 0x004E84}, {"\x81\x7C", 0x004E85}, 
{"\x81\x7D", 0x004E87}, {"\x81\x7E", 0x004E8A}, {"\x81\x80", 0x004E90}, {"\x81\x81", 0x004E96}, 
{"\x81\x82", 0x004E97}, {"\x81\x83", 0x004E99}, {"\x81\x84", 0x004E9C}, {"\x81\x85", 0x004E9D}, 
{"\x81\x86", 0x004E9E}, {"\x81\x87", 0x004EA3}, {"\x81\x88", 0x004EAA}, {"\x81\x89", 0x004EAF}, 
{"\x81\x8A", 0x004EB0}, {"\x81\x8B", 0x004EB1}, {"\x81\x8C", 0x004EB4}, {"\x81\x8D", 0x004EB6}, 
{"\x81\x8E", 0x004EB7}, {"\x81\x8F", 0x004EB8}, {"\x81\x90", 0x004EB9}, {"\x81\x91", 0x004EBC}, 
{"\x81\x92", 0x004EBD}, {"\x81\x93", 0x004EBE}, {"\x81\x94", 0x004EC8}, {"\x81\x95", 0x004ECC}, 
{"\x81\x96", 0x004ECF}, {"\x81\x97", 0x004ED0}, {"\x81\x98", 0x004ED2}, {"\x81\x99", 0x004EDA}, 
{"\x81\x9A", 0x004EDB}, {"\x81\x9B", 0x004EDC}, {"\x81\x9C", 0x004EE0}, {"\x81\x9D", 0x004EE2}, 
{"\x81\x9E", 0x004EE6}, {"\x81\x9F", 0x004EE7}, {"\x81\xA0", 0x004EE9}, {"\x81\xA1", 0x004EED}, 
{"\x81\xA2", 0x004EEE}, {"\x81\xA3", 0x004EEF}, {"\x81\xA4", 0x004EF1}, {"\x81\xA5", 0x004EF4}, 
{"\x81\xA6", 0x004EF8}, {"\x81\xA7", 0x004EF9}, {"\x81\xA8", 0x004EFA}, {"\x81\xA9", 0x004EFC}, 
{"\x81\xAA", 0x004EFE}, {"\x81\xAB", 0x004F00}, {"\x81\xAC", 0x004F02}, {"\x81\xAD", 0x004F03}, 
{"\x81\xAE", 0x004F04}, {"\x81\xAF", 0x004F05}, {"\x81\xB0", 0x004F06}, {"\x81\xB1", 0x004F07}, 
{"\x81\xB2", 0x004F08}, {"\x81\xB3", 0x004F0B}, {"\x81\xB4", 0x004F0C}, {"\x81\xB5", 0x004F12}, 
{"\x81\xB6", 0x004F13}, {"\x81\xB7", 0x004F14}, {"\x81\xB8", 0x004F15}, {"\x81\xB9", 0x004F16}, 
{"\x81\xBA", 0x004F1C}, {"\x81\xBB", 0x004F1D}, {"\x81\xBC", 0x004F21}, {"\x81\xBD", 0x004F23}, 
{"\x81\xBE", 0x004F28}, {"\x81\xBF", 0x004F29}, {"\x81\xC0", 0x004F2C}, {"\x81\xC1", 0x004F2D}, 

};
 for(size_t i=1; i<sizeof(db2bmp_00_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_00_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_01_gb18030_init()
{
static MB2UData db2bmp_01_gb18030 [] = { {"", 0}, 
{"\x81\xC2", 0x004F2E}, {"\x81\xC3", 0x004F31}, {"\x81\xC4", 0x004F33}, {"\x81\xC5", 0x004F35}, 
{"\x81\xC6", 0x004F37}, {"\x81\xC7", 0x004F39}, {"\x81\xC8", 0x004F3B}, {"\x81\xC9", 0x004F3E}, 
{"\x81\xCA", 0x004F3F}, {"\x81\xCB", 0x004F40}, {"\x81\xCC", 0x004F41}, {"\x81\xCD", 0x004F42}, 
{"\x81\xCE", 0x004F44}, {"\x81\xCF", 0x004F45}, {"\x81\xD0", 0x004F47}, {"\x81\xD1", 0x004F48}, 
{"\x81\xD2", 0x004F49}, {"\x81\xD3", 0x004F4A}, {"\x81\xD4", 0x004F4B}, {"\x81\xD5", 0x004F4C}, 
{"\x81\xD6", 0x004F52}, {"\x81\xD7", 0x004F54}, {"\x81\xD8", 0x004F56}, {"\x81\xD9", 0x004F61}, 
{"\x81\xDA", 0x004F62}, {"\x81\xDB", 0x004F66}, {"\x81\xDC", 0x004F68}, {"\x81\xDD", 0x004F6A}, 
{"\x81\xDE", 0x004F6B}, {"\x81\xDF", 0x004F6D}, {"\x81\xE0", 0x004F6E}, {"\x81\xE1", 0x004F71}, 
{"\x81\xE2", 0x004F72}, {"\x81\xE3", 0x004F75}, {"\x81\xE4", 0x004F77}, {"\x81\xE5", 0x004F78}, 
{"\x81\xE6", 0x004F79}, {"\x81\xE7", 0x004F7A}, {"\x81\xE8", 0x004F7D}, {"\x81\xE9", 0x004F80}, 
{"\x81\xEA", 0x004F81}, {"\x81\xEB", 0x004F82}, {"\x81\xEC", 0x004F85}, {"\x81\xED", 0x004F86}, 
{"\x81\xEE", 0x004F87}, {"\x81\xEF", 0x004F8A}, {"\x81\xF0", 0x004F8C}, {"\x81\xF1", 0x004F8E}, 
{"\x81\xF2", 0x004F90}, {"\x81\xF3", 0x004F92}, {"\x81\xF4", 0x004F93}, {"\x81\xF5", 0x004F95}, 
{"\x81\xF6", 0x004F96}, {"\x81\xF7", 0x004F98}, {"\x81\xF8", 0x004F99}, {"\x81\xF9", 0x004F9A}, 
{"\x81\xFA", 0x004F9C}, {"\x81\xFB", 0x004F9E}, {"\x81\xFC", 0x004F9F}, {"\x81\xFD", 0x004FA1}, 
{"\x81\xFE", 0x004FA2}, {"\x82\x40", 0x004FA4}, {"\x82\x41", 0x004FAB}, {"\x82\x42", 0x004FAD}, 
{"\x82\x43", 0x004FB0}, {"\x82\x44", 0x004FB1}, {"\x82\x45", 0x004FB2}, {"\x82\x46", 0x004FB3}, 
{"\x82\x47", 0x004FB4}, {"\x82\x48", 0x004FB6}, {"\x82\x49", 0x004FB7}, {"\x82\x4A", 0x004FB8}, 
{"\x82\x4B", 0x004FB9}, {"\x82\x4C", 0x004FBA}, {"\x82\x4D", 0x004FBB}, {"\x82\x4E", 0x004FBC}, 
{"\x82\x4F", 0x004FBD}, {"\x82\x50", 0x004FBE}, {"\x82\x51", 0x004FC0}, {"\x82\x52", 0x004FC1}, 
{"\x82\x53", 0x004FC2}, {"\x82\x54", 0x004FC6}, {"\x82\x55", 0x004FC7}, {"\x82\x56", 0x004FC8}, 
{"\x82\x57", 0x004FC9}, {"\x82\x58", 0x004FCB}, {"\x82\x59", 0x004FCC}, {"\x82\x5A", 0x004FCD}, 
{"\x82\x5B", 0x004FD2}, {"\x82\x5C", 0x004FD3}, {"\x82\x5D", 0x004FD4}, {"\x82\x5E", 0x004FD5}, 
{"\x82\x5F", 0x004FD6}, {"\x82\x60", 0x004FD9}, {"\x82\x61", 0x004FDB}, {"\x82\x62", 0x004FE0}, 
{"\x82\x63", 0x004FE2}, {"\x82\x64", 0x004FE4}, {"\x82\x65", 0x004FE5}, {"\x82\x66", 0x004FE7}, 
{"\x82\x67", 0x004FEB}, {"\x82\x68", 0x004FEC}, {"\x82\x69", 0x004FF0}, {"\x82\x6A", 0x004FF2}, 
{"\x82\x6B", 0x004FF4}, {"\x82\x6C", 0x004FF5}, {"\x82\x6D", 0x004FF6}, {"\x82\x6E", 0x004FF7}, 
{"\x82\x6F", 0x004FF9}, {"\x82\x70", 0x004FFB}, {"\x82\x71", 0x004FFC}, {"\x82\x72", 0x004FFD}, 
{"\x82\x73", 0x004FFF}, {"\x82\x74", 0x005000}, {"\x82\x75", 0x005001}, {"\x82\x76", 0x005002}, 
{"\x82\x77", 0x005003}, {"\x82\x78", 0x005004}, {"\x82\x79", 0x005005}, {"\x82\x7A", 0x005006}, 
{"\x82\x7B", 0x005007}, {"\x82\x7C", 0x005008}, {"\x82\x7D", 0x005009}, {"\x82\x7E", 0x00500A}, 
{"\x82\x80", 0x00500B}, {"\x82\x81", 0x00500E}, {"\x82\x82", 0x005010}, {"\x82\x83", 0x005011}, 
{"\x82\x84", 0x005013}, {"\x82\x85", 0x005015}, {"\x82\x86", 0x005016}, {"\x82\x87", 0x005017}, 
{"\x82\x88", 0x00501B}, {"\x82\x89", 0x00501D}, {"\x82\x8A", 0x00501E}, {"\x82\x8B", 0x005020}, 
{"\x82\x8C", 0x005022}, {"\x82\x8D", 0x005023}, {"\x82\x8E", 0x005024}, {"\x82\x8F", 0x005027}, 
{"\x82\x90", 0x00502B}, {"\x82\x91", 0x00502F}, {"\x82\x92", 0x005030}, {"\x82\x93", 0x005031}, 
{"\x82\x94", 0x005032}, {"\x82\x95", 0x005033}, {"\x82\x96", 0x005034}, {"\x82\x97", 0x005035}, 
{"\x82\x98", 0x005036}, {"\x82\x99", 0x005037}, {"\x82\x9A", 0x005038}, {"\x82\x9B", 0x005039}, 
{"\x82\x9C", 0x00503B}, {"\x82\x9D", 0x00503D}, {"\x82\x9E", 0x00503F}, {"\x82\x9F", 0x005040}, 
{"\x82\xA0", 0x005041}, {"\x82\xA1", 0x005042}, {"\x82\xA2", 0x005044}, {"\x82\xA3", 0x005045}, 
{"\x82\xA4", 0x005046}, {"\x82\xA5", 0x005049}, {"\x82\xA6", 0x00504A}, {"\x82\xA7", 0x00504B}, 
{"\x82\xA8", 0x00504D}, {"\x82\xA9", 0x005050}, {"\x82\xAA", 0x005051}, {"\x82\xAB", 0x005052}, 
{"\x82\xAC", 0x005053}, {"\x82\xAD", 0x005054}, {"\x82\xAE", 0x005056}, {"\x82\xAF", 0x005057}, 
{"\x82\xB0", 0x005058}, {"\x82\xB1", 0x005059}, {"\x82\xB2", 0x00505B}, {"\x82\xB3", 0x00505D}, 
{"\x82\xB4", 0x00505E}, {"\x82\xB5", 0x00505F}, {"\x82\xB6", 0x005060}, {"\x82\xB7", 0x005061}, 
{"\x82\xB8", 0x005062}, {"\x82\xB9", 0x005063}, {"\x82\xBA", 0x005064}, {"\x82\xBB", 0x005066}, 
{"\x82\xBC", 0x005067}, {"\x82\xBD", 0x005068}, {"\x82\xBE", 0x005069}, {"\x82\xBF", 0x00506A}, 
{"\x82\xC0", 0x00506B}, {"\x82\xC1", 0x00506D}, {"\x82\xC2", 0x00506E}, {"\x82\xC3", 0x00506F}, 
{"\x82\xC4", 0x005070}, {"\x82\xC5", 0x005071}, {"\x82\xC6", 0x005072}, {"\x82\xC7", 0x005073}, 
{"\x82\xC8", 0x005074}, {"\x82\xC9", 0x005075}, {"\x82\xCA", 0x005078}, {"\x82\xCB", 0x005079}, 
{"\x82\xCC", 0x00507A}, {"\x82\xCD", 0x00507C}, {"\x82\xCE", 0x00507D}, {"\x82\xCF", 0x005081}, 
{"\x82\xD0", 0x005082}, {"\x82\xD1", 0x005083}, {"\x82\xD2", 0x005084}, {"\x82\xD3", 0x005086}, 
{"\x82\xD4", 0x005087}, {"\x82\xD5", 0x005089}, {"\x82\xD6", 0x00508A}, {"\x82\xD7", 0x00508B}, 
{"\x82\xD8", 0x00508C}, {"\x82\xD9", 0x00508E}, {"\x82\xDA", 0x00508F}, {"\x82\xDB", 0x005090}, 
{"\x82\xDC", 0x005091}, {"\x82\xDD", 0x005092}, {"\x82\xDE", 0x005093}, {"\x82\xDF", 0x005094}, 
{"\x82\xE0", 0x005095}, {"\x82\xE1", 0x005096}, {"\x82\xE2", 0x005097}, {"\x82\xE3", 0x005098}, 
{"\x82\xE4", 0x005099}, {"\x82\xE5", 0x00509A}, {"\x82\xE6", 0x00509B}, {"\x82\xE7", 0x00509C}, 
{"\x82\xE8", 0x00509D}, {"\x82\xE9", 0x00509E}, {"\x82\xEA", 0x00509F}, {"\x82\xEB", 0x0050A0}, 
{"\x82\xEC", 0x0050A1}, {"\x82\xED", 0x0050A2}, {"\x82\xEE", 0x0050A4}, {"\x82\xEF", 0x0050A6}, 
{"\x82\xF0", 0x0050AA}, {"\x82\xF1", 0x0050AB}, {"\x82\xF2", 0x0050AD}, {"\x82\xF3", 0x0050AE}, 
{"\x82\xF4", 0x0050AF}, {"\x82\xF5", 0x0050B0}, {"\x82\xF6", 0x0050B1}, {"\x82\xF7", 0x0050B3}, 
{"\x82\xF8", 0x0050B4}, {"\x82\xF9", 0x0050B5}, {"\x82\xFA", 0x0050B6}, {"\x82\xFB", 0x0050B7}, 
{"\x82\xFC", 0x0050B8}, {"\x82\xFD", 0x0050B9}, {"\x82\xFE", 0x0050BC}, {"\x83\x40", 0x0050BD}, 
{"\x83\x41", 0x0050BE}, {"\x83\x42", 0x0050BF}, {"\x83\x43", 0x0050C0}, {"\x83\x44", 0x0050C1}, 

};
 for(size_t i=1; i<sizeof(db2bmp_01_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_01_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_02_gb18030_init()
{
static MB2UData db2bmp_02_gb18030 [] = { {"", 0}, 
{"\x83\x45", 0x0050C2}, {"\x83\x46", 0x0050C3}, {"\x83\x47", 0x0050C4}, {"\x83\x48", 0x0050C5}, 
{"\x83\x49", 0x0050C6}, {"\x83\x4A", 0x0050C7}, {"\x83\x4B", 0x0050C8}, {"\x83\x4C", 0x0050C9}, 
{"\x83\x4D", 0x0050CA}, {"\x83\x4E", 0x0050CB}, {"\x83\x4F", 0x0050CC}, {"\x83\x50", 0x0050CD}, 
{"\x83\x51", 0x0050CE}, {"\x83\x52", 0x0050D0}, {"\x83\x53", 0x0050D1}, {"\x83\x54", 0x0050D2}, 
{"\x83\x55", 0x0050D3}, {"\x83\x56", 0x0050D4}, {"\x83\x57", 0x0050D5}, {"\x83\x58", 0x0050D7}, 
{"\x83\x59", 0x0050D8}, {"\x83\x5A", 0x0050D9}, {"\x83\x5B", 0x0050DB}, {"\x83\x5C", 0x0050DC}, 
{"\x83\x5D", 0x0050DD}, {"\x83\x5E", 0x0050DE}, {"\x83\x5F", 0x0050DF}, {"\x83\x60", 0x0050E0}, 
{"\x83\x61", 0x0050E1}, {"\x83\x62", 0x0050E2}, {"\x83\x63", 0x0050E3}, {"\x83\x64", 0x0050E4}, 
{"\x83\x65", 0x0050E5}, {"\x83\x66", 0x0050E8}, {"\x83\x67", 0x0050E9}, {"\x83\x68", 0x0050EA}, 
{"\x83\x69", 0x0050EB}, {"\x83\x6A", 0x0050EF}, {"\x83\x6B", 0x0050F0}, {"\x83\x6C", 0x0050F1}, 
{"\x83\x6D", 0x0050F2}, {"\x83\x6E", 0x0050F4}, {"\x83\x6F", 0x0050F6}, {"\x83\x70", 0x0050F7}, 
{"\x83\x71", 0x0050F8}, {"\x83\x72", 0x0050F9}, {"\x83\x73", 0x0050FA}, {"\x83\x74", 0x0050FC}, 
{"\x83\x75", 0x0050FD}, {"\x83\x76", 0x0050FE}, {"\x83\x77", 0x0050FF}, {"\x83\x78", 0x005100}, 
{"\x83\x79", 0x005101}, {"\x83\x7A", 0x005102}, {"\x83\x7B", 0x005103}, {"\x83\x7C", 0x005104}, 
{"\x83\x7D", 0x005105}, {"\x83\x7E", 0x005108}, {"\x83\x80", 0x005109}, {"\x83\x81", 0x00510A}, 
{"\x83\x82", 0x00510C}, {"\x83\x83", 0x00510D}, {"\x83\x84", 0x00510E}, {"\x83\x85", 0x00510F}, 
{"\x83\x86", 0x005110}, {"\x83\x87", 0x005111}, {"\x83\x88", 0x005113}, {"\x83\x89", 0x005114}, 
{"\x83\x8A", 0x005115}, {"\x83\x8B", 0x005116}, {"\x83\x8C", 0x005117}, {"\x83\x8D", 0x005118}, 
{"\x83\x8E", 0x005119}, {"\x83\x8F", 0x00511A}, {"\x83\x90", 0x00511B}, {"\x83\x91", 0x00511C}, 
{"\x83\x92", 0x00511D}, {"\x83\x93", 0x00511E}, {"\x83\x94", 0x00511F}, {"\x83\x95", 0x005120}, 
{"\x83\x96", 0x005122}, {"\x83\x97", 0x005123}, {"\x83\x98", 0x005124}, {"\x83\x99", 0x005125}, 
{"\x83\x9A", 0x005126}, {"\x83\x9B", 0x005127}, {"\x83\x9C", 0x005128}, {"\x83\x9D", 0x005129}, 
{"\x83\x9E", 0x00512A}, {"\x83\x9F", 0x00512B}, {"\x83\xA0", 0x00512C}, {"\x83\xA1", 0x00512D}, 
{"\x83\xA2", 0x00512E}, {"\x83\xA3", 0x00512F}, {"\x83\xA4", 0x005130}, {"\x83\xA5", 0x005131}, 
{"\x83\xA6", 0x005132}, {"\x83\xA7", 0x005133}, {"\x83\xA8", 0x005134}, {"\x83\xA9", 0x005135}, 
{"\x83\xAA", 0x005136}, {"\x83\xAB", 0x005137}, {"\x83\xAC", 0x005138}, {"\x83\xAD", 0x005139}, 
{"\x83\xAE", 0x00513A}, {"\x83\xAF", 0x00513B}, {"\x83\xB0", 0x00513C}, {"\x83\xB1", 0x00513D}, 
{"\x83\xB2", 0x00513E}, {"\x83\xB3", 0x005142}, {"\x83\xB4", 0x005147}, {"\x83\xB5", 0x00514A}, 
{"\x83\xB6", 0x00514C}, {"\x83\xB7", 0x00514E}, {"\x83\xB8", 0x00514F}, {"\x83\xB9", 0x005150}, 
{"\x83\xBA", 0x005152}, {"\x83\xBB", 0x005153}, {"\x83\xBC", 0x005157}, {"\x83\xBD", 0x005158}, 
{"\x83\xBE", 0x005159}, {"\x83\xBF", 0x00515B}, {"\x83\xC0", 0x00515D}, {"\x83\xC1", 0x00515E}, 
{"\x83\xC2", 0x00515F}, {"\x83\xC3", 0x005160}, {"\x83\xC4", 0x005161}, {"\x83\xC5", 0x005163}, 
{"\x83\xC6", 0x005164}, {"\x83\xC7", 0x005166}, {"\x83\xC8", 0x005167}, {"\x83\xC9", 0x005169}, 
{"\x83\xCA", 0x00516A}, {"\x83\xCB", 0x00516F}, {"\x83\xCC", 0x005172}, {"\x83\xCD", 0x00517A}, 
{"\x83\xCE", 0x00517E}, {"\x83\xCF", 0x00517F}, {"\x83\xD0", 0x005183}, {"\x83\xD1", 0x005184}, 
{"\x83\xD2", 0x005186}, {"\x83\xD3", 0x005187}, {"\x83\xD4", 0x00518A}, {"\x83\xD5", 0x00518B}, 
{"\x83\xD6", 0x00518E}, {"\x83\xD7", 0x00518F}, {"\x83\xD8", 0x005190}, {"\x83\xD9", 0x005191}, 
{"\x83\xDA", 0x005193}, {"\x83\xDB", 0x005194}, {"\x83\xDC", 0x005198}, {"\x83\xDD", 0x00519A}, 
{"\x83\xDE", 0x00519D}, {"\x83\xDF", 0x00519E}, {"\x83\xE0", 0x00519F}, {"\x83\xE1", 0x0051A1}, 
{"\x83\xE2", 0x0051A3}, {"\x83\xE3", 0x0051A6}, {"\x83\xE4", 0x0051A7}, {"\x83\xE5", 0x0051A8}, 
{"\x83\xE6", 0x0051A9}, {"\x83\xE7", 0x0051AA}, {"\x83\xE8", 0x0051AD}, {"\x83\xE9", 0x0051AE}, 
{"\x83\xEA", 0x0051B4}, {"\x83\xEB", 0x0051B8}, {"\x83\xEC", 0x0051B9}, {"\x83\xED", 0x0051BA}, 
{"\x83\xEE", 0x0051BE}, {"\x83\xEF", 0x0051BF}, {"\x83\xF0", 0x0051C1}, {"\x83\xF1", 0x0051C2}, 
{"\x83\xF2", 0x0051C3}, {"\x83\xF3", 0x0051C5}, {"\x83\xF4", 0x0051C8}, {"\x83\xF5", 0x0051CA}, 
{"\x83\xF6", 0x0051CD}, {"\x83\xF7", 0x0051CE}, {"\x83\xF8", 0x0051D0}, {"\x83\xF9", 0x0051D2}, 
{"\x83\xFA", 0x0051D3}, {"\x83\xFB", 0x0051D4}, {"\x83\xFC", 0x0051D5}, {"\x83\xFD", 0x0051D6}, 
{"\x83\xFE", 0x0051D7}, {"\x84\x40", 0x0051D8}, {"\x84\x41", 0x0051D9}, {"\x84\x42", 0x0051DA}, 
{"\x84\x43", 0x0051DC}, {"\x84\x44", 0x0051DE}, {"\x84\x45", 0x0051DF}, {"\x84\x46", 0x0051E2}, 
{"\x84\x47", 0x0051E3}, {"\x84\x48", 0x0051E5}, {"\x84\x49", 0x0051E6}, {"\x84\x4A", 0x0051E7}, 
{"\x84\x4B", 0x0051E8}, {"\x84\x4C", 0x0051E9}, {"\x84\x4D", 0x0051EA}, {"\x84\x4E", 0x0051EC}, 
{"\x84\x4F", 0x0051EE}, {"\x84\x50", 0x0051F1}, {"\x84\x51", 0x0051F2}, {"\x84\x52", 0x0051F4}, 
{"\x84\x53", 0x0051F7}, {"\x84\x54", 0x0051FE}, {"\x84\x55", 0x005204}, {"\x84\x56", 0x005205}, 
{"\x84\x57", 0x005209}, {"\x84\x58", 0x00520B}, {"\x84\x59", 0x00520C}, {"\x84\x5A", 0x00520F}, 
{"\x84\x5B", 0x005210}, {"\x84\x5C", 0x005213}, {"\x84\x5D", 0x005214}, {"\x84\x5E", 0x005215}, 
{"\x84\x5F", 0x00521C}, {"\x84\x60", 0x00521E}, {"\x84\x61", 0x00521F}, {"\x84\x62", 0x005221}, 
{"\x84\x63", 0x005222}, {"\x84\x64", 0x005223}, {"\x84\x65", 0x005225}, {"\x84\x66", 0x005226}, 
{"\x84\x67", 0x005227}, {"\x84\x68", 0x00522A}, {"\x84\x69", 0x00522C}, {"\x84\x6A", 0x00522F}, 
{"\x84\x6B", 0x005231}, {"\x84\x6C", 0x005232}, {"\x84\x6D", 0x005234}, {"\x84\x6E", 0x005235}, 
{"\x84\x6F", 0x00523C}, {"\x84\x70", 0x00523E}, {"\x84\x71", 0x005244}, {"\x84\x72", 0x005245}, 
{"\x84\x73", 0x005246}, {"\x84\x74", 0x005247}, {"\x84\x75", 0x005248}, {"\x84\x76", 0x005249}, 
{"\x84\x77", 0x00524B}, {"\x84\x78", 0x00524E}, {"\x84\x79", 0x00524F}, {"\x84\x7A", 0x005252}, 
{"\x84\x7B", 0x005253}, {"\x84\x7C", 0x005255}, {"\x84\x7D", 0x005257}, {"\x84\x7E", 0x005258}, 
{"\x84\x80", 0x005259}, {"\x84\x81", 0x00525A}, {"\x84\x82", 0x00525B}, {"\x84\x83", 0x00525D}, 
{"\x84\x84", 0x00525F}, {"\x84\x85", 0x005260}, {"\x84\x86", 0x005262}, {"\x84\x87", 0x005263}, 

};
 for(size_t i=1; i<sizeof(db2bmp_02_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_02_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_03_gb18030_init()
{
static MB2UData db2bmp_03_gb18030 [] = { {"", 0}, 
{"\x84\x88", 0x005264}, {"\x84\x89", 0x005266}, {"\x84\x8A", 0x005268}, {"\x84\x8B", 0x00526B}, 
{"\x84\x8C", 0x00526C}, {"\x84\x8D", 0x00526D}, {"\x84\x8E", 0x00526E}, {"\x84\x8F", 0x005270}, 
{"\x84\x90", 0x005271}, {"\x84\x91", 0x005273}, {"\x84\x92", 0x005274}, {"\x84\x93", 0x005275}, 
{"\x84\x94", 0x005276}, {"\x84\x95", 0x005277}, {"\x84\x96", 0x005278}, {"\x84\x97", 0x005279}, 
{"\x84\x98", 0x00527A}, {"\x84\x99", 0x00527B}, {"\x84\x9A", 0x00527C}, {"\x84\x9B", 0x00527E}, 
{"\x84\x9C", 0x005280}, {"\x84\x9D", 0x005283}, {"\x84\x9E", 0x005284}, {"\x84\x9F", 0x005285}, 
{"\x84\xA0", 0x005286}, {"\x84\xA1", 0x005287}, {"\x84\xA2", 0x005289}, {"\x84\xA3", 0x00528A}, 
{"\x84\xA4", 0x00528B}, {"\x84\xA5", 0x00528C}, {"\x84\xA6", 0x00528D}, {"\x84\xA7", 0x00528E}, 
{"\x84\xA8", 0x00528F}, {"\x84\xA9", 0x005291}, {"\x84\xAA", 0x005292}, {"\x84\xAB", 0x005294}, 
{"\x84\xAC", 0x005295}, {"\x84\xAD", 0x005296}, {"\x84\xAE", 0x005297}, {"\x84\xAF", 0x005298}, 
{"\x84\xB0", 0x005299}, {"\x84\xB1", 0x00529A}, {"\x84\xB2", 0x00529C}, {"\x84\xB3", 0x0052A4}, 
{"\x84\xB4", 0x0052A5}, {"\x84\xB5", 0x0052A6}, {"\x84\xB6", 0x0052A7}, {"\x84\xB7", 0x0052AE}, 
{"\x84\xB8", 0x0052AF}, {"\x84\xB9", 0x0052B0}, {"\x84\xBA", 0x0052B4}, {"\x84\xBB", 0x0052B5}, 
{"\x84\xBC", 0x0052B6}, {"\x84\xBD", 0x0052B7}, {"\x84\xBE", 0x0052B8}, {"\x84\xBF", 0x0052B9}, 
{"\x84\xC0", 0x0052BA}, {"\x84\xC1", 0x0052BB}, {"\x84\xC2", 0x0052BC}, {"\x84\xC3", 0x0052BD}, 
{"\x84\xC4", 0x0052C0}, {"\x84\xC5", 0x0052C1}, {"\x84\xC6", 0x0052C2}, {"\x84\xC7", 0x0052C4}, 
{"\x84\xC8", 0x0052C5}, {"\x84\xC9", 0x0052C6}, {"\x84\xCA", 0x0052C8}, {"\x84\xCB", 0x0052CA}, 
{"\x84\xCC", 0x0052CC}, {"\x84\xCD", 0x0052CD}, {"\x84\xCE", 0x0052CE}, {"\x84\xCF", 0x0052CF}, 
{"\x84\xD0", 0x0052D1}, {"\x84\xD1", 0x0052D3}, {"\x84\xD2", 0x0052D4}, {"\x84\xD3", 0x0052D5}, 
{"\x84\xD4", 0x0052D7}, {"\x84\xD5", 0x0052D9}, {"\x84\xD6", 0x0052DA}, {"\x84\xD7", 0x0052DB}, 
{"\x84\xD8", 0x0052DC}, {"\x84\xD9", 0x0052DD}, {"\x84\xDA", 0x0052DE}, {"\x84\xDB", 0x0052E0}, 
{"\x84\xDC", 0x0052E1}, {"\x84\xDD", 0x0052E2}, {"\x84\xDE", 0x0052E3}, {"\x84\xDF", 0x0052E5}, 
{"\x84\xE0", 0x0052E6}, {"\x84\xE1", 0x0052E7}, {"\x84\xE2", 0x0052E8}, {"\x84\xE3", 0x0052E9}, 
{"\x84\xE4", 0x0052EA}, {"\x84\xE5", 0x0052EB}, {"\x84\xE6", 0x0052EC}, {"\x84\xE7", 0x0052ED}, 
{"\x84\xE8", 0x0052EE}, {"\x84\xE9", 0x0052EF}, {"\x84\xEA", 0x0052F1}, {"\x84\xEB", 0x0052F2}, 
{"\x84\xEC", 0x0052F3}, {"\x84\xED", 0x0052F4}, {"\x84\xEE", 0x0052F5}, {"\x84\xEF", 0x0052F6}, 
{"\x84\xF0", 0x0052F7}, {"\x84\xF1", 0x0052F8}, {"\x84\xF2", 0x0052FB}, {"\x84\xF3", 0x0052FC}, 
{"\x84\xF4", 0x0052FD}, {"\x84\xF5", 0x005301}, {"\x84\xF6", 0x005302}, {"\x84\xF7", 0x005303}, 
{"\x84\xF8", 0x005304}, {"\x84\xF9", 0x005307}, {"\x84\xFA", 0x005309}, {"\x84\xFB", 0x00530A}, 
{"\x84\xFC", 0x00530B}, {"\x84\xFD", 0x00530C}, {"\x84\xFE", 0x00530E}, {"\x85\x40", 0x005311}, 
{"\x85\x41", 0x005312}, {"\x85\x42", 0x005313}, {"\x85\x43", 0x005314}, {"\x85\x44", 0x005318}, 
{"\x85\x45", 0x00531B}, {"\x85\x46", 0x00531C}, {"\x85\x47", 0x00531E}, {"\x85\x48", 0x00531F}, 
{"\x85\x49", 0x005322}, {"\x85\x4A", 0x005324}, {"\x85\x4B", 0x005325}, {"\x85\x4C", 0x005327}, 
{"\x85\x4D", 0x005328}, {"\x85\x4E", 0x005329}, {"\x85\x4F", 0x00532B}, {"\x85\x50", 0x00532C}, 
{"\x85\x51", 0x00532D}, {"\x85\x52", 0x00532F}, {"\x85\x53", 0x005330}, {"\x85\x54", 0x005331}, 
{"\x85\x55", 0x005332}, {"\x85\x56", 0x005333}, {"\x85\x57", 0x005334}, {"\x85\x58", 0x005335}, 
{"\x85\x59", 0x005336}, {"\x85\x5A", 0x005337}, {"\x85\x5B", 0x005338}, {"\x85\x5C", 0x00533C}, 
{"\x85\x5D", 0x00533D}, {"\x85\x5E", 0x005340}, {"\x85\x5F", 0x005342}, {"\x85\x60", 0x005344}, 
{"\x85\x61", 0x005346}, {"\x85\x62", 0x00534B}, {"\x85\x63", 0x00534C}, {"\x85\x64", 0x00534D}, 
{"\x85\x65", 0x005350}, {"\x85\x66", 0x005354}, {"\x85\x67", 0x005358}, {"\x85\x68", 0x005359}, 
{"\x85\x69", 0x00535B}, {"\x85\x6A", 0x00535D}, {"\x85\x6B", 0x005365}, {"\x85\x6C", 0x005368}, 
{"\x85\x6D", 0x00536A}, {"\x85\x6E", 0x00536C}, {"\x85\x6F", 0x00536D}, {"\x85\x70", 0x005372}, 
{"\x85\x71", 0x005376}, {"\x85\x72", 0x005379}, {"\x85\x73", 0x00537B}, {"\x85\x74", 0x00537C}, 
{"\x85\x75", 0x00537D}, {"\x85\x76", 0x00537E}, {"\x85\x77", 0x005380}, {"\x85\x78", 0x005381}, 
{"\x85\x79", 0x005383}, {"\x85\x7A", 0x005387}, {"\x85\x7B", 0x005388}, {"\x85\x7C", 0x00538A}, 
{"\x85\x7D", 0x00538E}, {"\x85\x7E", 0x00538F}, {"\x85\x80", 0x005390}, {"\x85\x81", 0x005391}, 
{"\x85\x82", 0x005392}, {"\x85\x83", 0x005393}, {"\x85\x84", 0x005394}, {"\x85\x85", 0x005396}, 
{"\x85\x86", 0x005397}, {"\x85\x87", 0x005399}, {"\x85\x88", 0x00539B}, {"\x85\x89", 0x00539C}, 
{"\x85\x8A", 0x00539E}, {"\x85\x8B", 0x0053A0}, {"\x85\x8C", 0x0053A1}, {"\x85\x8D", 0x0053A4}, 
{"\x85\x8E", 0x0053A7}, {"\x85\x8F", 0x0053AA}, {"\x85\x90", 0x0053AB}, {"\x85\x91", 0x0053AC}, 
{"\x85\x92", 0x0053AD}, {"\x85\x93", 0x0053AF}, {"\x85\x94", 0x0053B0}, {"\x85\x95", 0x0053B1}, 
{"\x85\x96", 0x0053B2}, {"\x85\x97", 0x0053B3}, {"\x85\x98", 0x0053B4}, {"\x85\x99", 0x0053B5}, 
{"\x85\x9A", 0x0053B7}, {"\x85\x9B", 0x0053B8}, {"\x85\x9C", 0x0053B9}, {"\x85\x9D", 0x0053BA}, 
{"\x85\x9E", 0x0053BC}, {"\x85\x9F", 0x0053BD}, {"\x85\xA0", 0x0053BE}, {"\x85\xA1", 0x0053C0}, 
{"\x85\xA2", 0x0053C3}, {"\x85\xA3", 0x0053C4}, {"\x85\xA4", 0x0053C5}, {"\x85\xA5", 0x0053C6}, 
{"\x85\xA6", 0x0053C7}, {"\x85\xA7", 0x0053CE}, {"\x85\xA8", 0x0053CF}, {"\x85\xA9", 0x0053D0}, 
{"\x85\xAA", 0x0053D2}, {"\x85\xAB", 0x0053D3}, {"\x85\xAC", 0x0053D5}, {"\x85\xAD", 0x0053DA}, 
{"\x85\xAE", 0x0053DC}, {"\x85\xAF", 0x0053DD}, {"\x85\xB0", 0x0053DE}, {"\x85\xB1", 0x0053E1}, 
{"\x85\xB2", 0x0053E2}, {"\x85\xB3", 0x0053E7}, {"\x85\xB4", 0x0053F4}, {"\x85\xB5", 0x0053FA}, 
{"\x85\xB6", 0x0053FE}, {"\x85\xB7", 0x0053FF}, {"\x85\xB8", 0x005400}, {"\x85\xB9", 0x005402}, 
{"\x85\xBA", 0x005405}, {"\x85\xBB", 0x005407}, {"\x85\xBC", 0x00540B}, {"\x85\xBD", 0x005414}, 
{"\x85\xBE", 0x005418}, {"\x85\xBF", 0x005419}, {"\x85\xC0", 0x00541A}, {"\x85\xC1", 0x00541C}, 
{"\x85\xC2", 0x005422}, {"\x85\xC3", 0x005424}, {"\x85\xC4", 0x005425}, {"\x85\xC5", 0x00542A}, 
{"\x85\xC6", 0x005430}, {"\x85\xC7", 0x005433}, {"\x85\xC8", 0x005436}, {"\x85\xC9", 0x005437}, 

};
 for(size_t i=1; i<sizeof(db2bmp_03_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_03_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_04_gb18030_init()
{
static MB2UData db2bmp_04_gb18030 [] = { {"", 0}, 
{"\x85\xCA", 0x00543A}, {"\x85\xCB", 0x00543D}, {"\x85\xCC", 0x00543F}, {"\x85\xCD", 0x005441}, 
{"\x85\xCE", 0x005442}, {"\x85\xCF", 0x005444}, {"\x85\xD0", 0x005445}, {"\x85\xD1", 0x005447}, 
{"\x85\xD2", 0x005449}, {"\x85\xD3", 0x00544C}, {"\x85\xD4", 0x00544D}, {"\x85\xD5", 0x00544E}, 
{"\x85\xD6", 0x00544F}, {"\x85\xD7", 0x005451}, {"\x85\xD8", 0x00545A}, {"\x85\xD9", 0x00545D}, 
{"\x85\xDA", 0x00545E}, {"\x85\xDB", 0x00545F}, {"\x85\xDC", 0x005460}, {"\x85\xDD", 0x005461}, 
{"\x85\xDE", 0x005463}, {"\x85\xDF", 0x005465}, {"\x85\xE0", 0x005467}, {"\x85\xE1", 0x005469}, 
{"\x85\xE2", 0x00546A}, {"\x85\xE3", 0x00546B}, {"\x85\xE4", 0x00546C}, {"\x85\xE5", 0x00546D}, 
{"\x85\xE6", 0x00546E}, {"\x85\xE7", 0x00546F}, {"\x85\xE8", 0x005470}, {"\x85\xE9", 0x005474}, 
{"\x85\xEA", 0x005479}, {"\x85\xEB", 0x00547A}, {"\x85\xEC", 0x00547E}, {"\x85\xED", 0x00547F}, 
{"\x85\xEE", 0x005481}, {"\x85\xEF", 0x005483}, {"\x85\xF0", 0x005485}, {"\x85\xF1", 0x005487}, 
{"\x85\xF2", 0x005488}, {"\x85\xF3", 0x005489}, {"\x85\xF4", 0x00548A}, {"\x85\xF5", 0x00548D}, 
{"\x85\xF6", 0x005491}, {"\x85\xF7", 0x005493}, {"\x85\xF8", 0x005497}, {"\x85\xF9", 0x005498}, 
{"\x85\xFA", 0x00549C}, {"\x85\xFB", 0x00549E}, {"\x85\xFC", 0x00549F}, {"\x85\xFD", 0x0054A0}, 
{"\x85\xFE", 0x0054A1}, {"\x86\x40", 0x0054A2}, {"\x86\x41", 0x0054A5}, {"\x86\x42", 0x0054AE}, 
{"\x86\x43", 0x0054B0}, {"\x86\x44", 0x0054B2}, {"\x86\x45", 0x0054B5}, {"\x86\x46", 0x0054B6}, 
{"\x86\x47", 0x0054B7}, {"\x86\x48", 0x0054B9}, {"\x86\x49", 0x0054BA}, {"\x86\x4A", 0x0054BC}, 
{"\x86\x4B", 0x0054BE}, {"\x86\x4C", 0x0054C3}, {"\x86\x4D", 0x0054C5}, {"\x86\x4E", 0x0054CA}, 
{"\x86\x4F", 0x0054CB}, {"\x86\x50", 0x0054D6}, {"\x86\x51", 0x0054D8}, {"\x86\x52", 0x0054DB}, 
{"\x86\x53", 0x0054E0}, {"\x86\x54", 0x0054E1}, {"\x86\x55", 0x0054E2}, {"\x86\x56", 0x0054E3}, 
{"\x86\x57", 0x0054E4}, {"\x86\x58", 0x0054EB}, {"\x86\x59", 0x0054EC}, {"\x86\x5A", 0x0054EF}, 
{"\x86\x5B", 0x0054F0}, {"\x86\x5C", 0x0054F1}, {"\x86\x5D", 0x0054F4}, {"\x86\x5E", 0x0054F5}, 
{"\x86\x5F", 0x0054F6}, {"\x86\x60", 0x0054F7}, {"\x86\x61", 0x0054F8}, {"\x86\x62", 0x0054F9}, 
{"\x86\x63", 0x0054FB}, {"\x86\x64", 0x0054FE}, {"\x86\x65", 0x005500}, {"\x86\x66", 0x005502}, 
{"\x86\x67", 0x005503}, {"\x86\x68", 0x005504}, {"\x86\x69", 0x005505}, {"\x86\x6A", 0x005508}, 
{"\x86\x6B", 0x00550A}, {"\x86\x6C", 0x00550B}, {"\x86\x6D", 0x00550C}, {"\x86\x6E", 0x00550D}, 
{"\x86\x6F", 0x00550E}, {"\x86\x70", 0x005512}, {"\x86\x71", 0x005513}, {"\x86\x72", 0x005515}, 
{"\x86\x73", 0x005516}, {"\x86\x74", 0x005517}, {"\x86\x75", 0x005518}, {"\x86\x76", 0x005519}, 
{"\x86\x77", 0x00551A}, {"\x86\x78", 0x00551C}, {"\x86\x79", 0x00551D}, {"\x86\x7A", 0x00551E}, 
{"\x86\x7B", 0x00551F}, {"\x86\x7C", 0x005521}, {"\x86\x7D", 0x005525}, {"\x86\x7E", 0x005526}, 
{"\x86\x80", 0x005528}, {"\x86\x81", 0x005529}, {"\x86\x82", 0x00552B}, {"\x86\x83", 0x00552D}, 
{"\x86\x84", 0x005532}, {"\x86\x85", 0x005534}, {"\x86\x86", 0x005535}, {"\x86\x87", 0x005536}, 
{"\x86\x88", 0x005538}, {"\x86\x89", 0x005539}, {"\x86\x8A", 0x00553A}, {"\x86\x8B", 0x00553B}, 
{"\x86\x8C", 0x00553D}, {"\x86\x8D", 0x005540}, {"\x86\x8E", 0x005542}, {"\x86\x8F", 0x005545}, 
{"\x86\x90", 0x005547}, {"\x86\x91", 0x005548}, {"\x86\x92", 0x00554B}, {"\x86\x93", 0x00554C}, 
{"\x86\x94", 0x00554D}, {"\x86\x95", 0x00554E}, {"\x86\x96", 0x00554F}, {"\x86\x97", 0x005551}, 
{"\x86\x98", 0x005552}, {"\x86\x99", 0x005553}, {"\x86\x9A", 0x005554}, {"\x86\x9B", 0x005557}, 
{"\x86\x9C", 0x005558}, {"\x86\x9D", 0x005559}, {"\x86\x9E", 0x00555A}, {"\x86\x9F", 0x00555B}, 
{"\x86\xA0", 0x00555D}, {"\x86\xA1", 0x00555E}, {"\x86\xA2", 0x00555F}, {"\x86\xA3", 0x005560}, 
{"\x86\xA4", 0x005562}, {"\x86\xA5", 0x005563}, {"\x86\xA6", 0x005568}, {"\x86\xA7", 0x005569}, 
{"\x86\xA8", 0x00556B}, {"\x86\xA9", 0x00556F}, {"\x86\xAA", 0x005570}, {"\x86\xAB", 0x005571}, 
{"\x86\xAC", 0x005572}, {"\x86\xAD", 0x005573}, {"\x86\xAE", 0x005574}, {"\x86\xAF", 0x005579}, 
{"\x86\xB0", 0x00557A}, {"\x86\xB1", 0x00557D}, {"\x86\xB2", 0x00557F}, {"\x86\xB3", 0x005585}, 
{"\x86\xB4", 0x005586}, {"\x86\xB5", 0x00558C}, {"\x86\xB6", 0x00558D}, {"\x86\xB7", 0x00558E}, 
{"\x86\xB8", 0x005590}, {"\x86\xB9", 0x005592}, {"\x86\xBA", 0x005593}, {"\x86\xBB", 0x005595}, 
{"\x86\xBC", 0x005596}, {"\x86\xBD", 0x005597}, {"\x86\xBE", 0x00559A}, {"\x86\xBF", 0x00559B}, 
{"\x86\xC0", 0x00559E}, {"\x86\xC1", 0x0055A0}, {"\x86\xC2", 0x0055A1}, {"\x86\xC3", 0x0055A2}, 
{"\x86\xC4", 0x0055A3}, {"\x86\xC5", 0x0055A4}, {"\x86\xC6", 0x0055A5}, {"\x86\xC7", 0x0055A6}, 
{"\x86\xC8", 0x0055A8}, {"\x86\xC9", 0x0055A9}, {"\x86\xCA", 0x0055AA}, {"\x86\xCB", 0x0055AB}, 
{"\x86\xCC", 0x0055AC}, {"\x86\xCD", 0x0055AD}, {"\x86\xCE", 0x0055AE}, {"\x86\xCF", 0x0055AF}, 
{"\x86\xD0", 0x0055B0}, {"\x86\xD1", 0x0055B2}, {"\x86\xD2", 0x0055B4}, {"\x86\xD3", 0x0055B6}, 
{"\x86\xD4", 0x0055B8}, {"\x86\xD5", 0x0055BA}, {"\x86\xD6", 0x0055BC}, {"\x86\xD7", 0x0055BF}, 
{"\x86\xD8", 0x0055C0}, {"\x86\xD9", 0x0055C1}, {"\x86\xDA", 0x0055C2}, {"\x86\xDB", 0x0055C3}, 
{"\x86\xDC", 0x0055C6}, {"\x86\xDD", 0x0055C7}, {"\x86\xDE", 0x0055C8}, {"\x86\xDF", 0x0055CA}, 
{"\x86\xE0", 0x0055CB}, {"\x86\xE1", 0x0055CE}, {"\x86\xE2", 0x0055CF}, {"\x86\xE3", 0x0055D0}, 
{"\x86\xE4", 0x0055D5}, {"\x86\xE5", 0x0055D7}, {"\x86\xE6", 0x0055D8}, {"\x86\xE7", 0x0055D9}, 
{"\x86\xE8", 0x0055DA}, {"\x86\xE9", 0x0055DB}, {"\x86\xEA", 0x0055DE}, {"\x86\xEB", 0x0055E0}, 
{"\x86\xEC", 0x0055E2}, {"\x86\xED", 0x0055E7}, {"\x86\xEE", 0x0055E9}, {"\x86\xEF", 0x0055ED}, 
{"\x86\xF0", 0x0055EE}, {"\x86\xF1", 0x0055F0}, {"\x86\xF2", 0x0055F1}, {"\x86\xF3", 0x0055F4}, 
{"\x86\xF4", 0x0055F6}, {"\x86\xF5", 0x0055F8}, {"\x86\xF6", 0x0055F9}, {"\x86\xF7", 0x0055FA}, 
{"\x86\xF8", 0x0055FB}, {"\x86\xF9", 0x0055FC}, {"\x86\xFA", 0x0055FF}, {"\x86\xFB", 0x005602}, 
{"\x86\xFC", 0x005603}, {"\x86\xFD", 0x005604}, {"\x86\xFE", 0x005605}, {"\x87\x40", 0x005606}, 
{"\x87\x41", 0x005607}, {"\x87\x42", 0x00560A}, {"\x87\x43", 0x00560B}, {"\x87\x44", 0x00560D}, 
{"\x87\x45", 0x005610}, {"\x87\x46", 0x005611}, {"\x87\x47", 0x005612}, {"\x87\x48", 0x005613}, 
{"\x87\x49", 0x005614}, {"\x87\x4A", 0x005615}, {"\x87\x4B", 0x005616}, {"\x87\x4C", 0x005617}, 

};
 for(size_t i=1; i<sizeof(db2bmp_04_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_04_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_05_gb18030_init()
{
static MB2UData db2bmp_05_gb18030 [] = { {"", 0}, 
{"\x87\x4D", 0x005619}, {"\x87\x4E", 0x00561A}, {"\x87\x4F", 0x00561C}, {"\x87\x50", 0x00561D}, 
{"\x87\x51", 0x005620}, {"\x87\x52", 0x005621}, {"\x87\x53", 0x005622}, {"\x87\x54", 0x005625}, 
{"\x87\x55", 0x005626}, {"\x87\x56", 0x005628}, {"\x87\x57", 0x005629}, {"\x87\x58", 0x00562A}, 
{"\x87\x59", 0x00562B}, {"\x87\x5A", 0x00562E}, {"\x87\x5B", 0x00562F}, {"\x87\x5C", 0x005630}, 
{"\x87\x5D", 0x005633}, {"\x87\x5E", 0x005635}, {"\x87\x5F", 0x005637}, {"\x87\x60", 0x005638}, 
{"\x87\x61", 0x00563A}, {"\x87\x62", 0x00563C}, {"\x87\x63", 0x00563D}, {"\x87\x64", 0x00563E}, 
{"\x87\x65", 0x005640}, {"\x87\x66", 0x005641}, {"\x87\x67", 0x005642}, {"\x87\x68", 0x005643}, 
{"\x87\x69", 0x005644}, {"\x87\x6A", 0x005645}, {"\x87\x6B", 0x005646}, {"\x87\x6C", 0x005647}, 
{"\x87\x6D", 0x005648}, {"\x87\x6E", 0x005649}, {"\x87\x6F", 0x00564A}, {"\x87\x70", 0x00564B}, 
{"\x87\x71", 0x00564F}, {"\x87\x72", 0x005650}, {"\x87\x73", 0x005651}, {"\x87\x74", 0x005652}, 
{"\x87\x75", 0x005653}, {"\x87\x76", 0x005655}, {"\x87\x77", 0x005656}, {"\x87\x78", 0x00565A}, 
{"\x87\x79", 0x00565B}, {"\x87\x7A", 0x00565D}, {"\x87\x7B", 0x00565E}, {"\x87\x7C", 0x00565F}, 
{"\x87\x7D", 0x005660}, {"\x87\x7E", 0x005661}, {"\x87\x80", 0x005663}, {"\x87\x81", 0x005665}, 
{"\x87\x82", 0x005666}, {"\x87\x83", 0x005667}, {"\x87\x84", 0x00566D}, {"\x87\x85", 0x00566E}, 
{"\x87\x86", 0x00566F}, {"\x87\x87", 0x005670}, {"\x87\x88", 0x005672}, {"\x87\x89", 0x005673}, 
{"\x87\x8A", 0x005674}, {"\x87\x8B", 0x005675}, {"\x87\x8C", 0x005677}, {"\x87\x8D", 0x005678}, 
{"\x87\x8E", 0x005679}, {"\x87\x8F", 0x00567A}, {"\x87\x90", 0x00567D}, {"\x87\x91", 0x00567E}, 
{"\x87\x92", 0x00567F}, {"\x87\x93", 0x005680}, {"\x87\x94", 0x005681}, {"\x87\x95", 0x005682}, 
{"\x87\x96", 0x005683}, {"\x87\x97", 0x005684}, {"\x87\x98", 0x005687}, {"\x87\x99", 0x005688}, 
{"\x87\x9A", 0x005689}, {"\x87\x9B", 0x00568A}, {"\x87\x9C", 0x00568B}, {"\x87\x9D", 0x00568C}, 
{"\x87\x9E", 0x00568D}, {"\x87\x9F", 0x005690}, {"\x87\xA0", 0x005691}, {"\x87\xA1", 0x005692}, 
{"\x87\xA2", 0x005694}, {"\x87\xA3", 0x005695}, {"\x87\xA4", 0x005696}, {"\x87\xA5", 0x005697}, 
{"\x87\xA6", 0x005698}, {"\x87\xA7", 0x005699}, {"\x87\xA8", 0x00569A}, {"\x87\xA9", 0x00569B}, 
{"\x87\xAA", 0x00569C}, {"\x87\xAB", 0x00569D}, {"\x87\xAC", 0x00569E}, {"\x87\xAD", 0x00569F}, 
{"\x87\xAE", 0x0056A0}, {"\x87\xAF", 0x0056A1}, {"\x87\xB0", 0x0056A2}, {"\x87\xB1", 0x0056A4}, 
{"\x87\xB2", 0x0056A5}, {"\x87\xB3", 0x0056A6}, {"\x87\xB4", 0x0056A7}, {"\x87\xB5", 0x0056A8}, 
{"\x87\xB6", 0x0056A9}, {"\x87\xB7", 0x0056AA}, {"\x87\xB8", 0x0056AB}, {"\x87\xB9", 0x0056AC}, 
{"\x87\xBA", 0x0056AD}, {"\x87\xBB", 0x0056AE}, {"\x87\xBC", 0x0056B0}, {"\x87\xBD", 0x0056B1}, 
{"\x87\xBE", 0x0056B2}, {"\x87\xBF", 0x0056B3}, {"\x87\xC0", 0x0056B4}, {"\x87\xC1", 0x0056B5}, 
{"\x87\xC2", 0x0056B6}, {"\x87\xC3", 0x0056B8}, {"\x87\xC4", 0x0056B9}, {"\x87\xC5", 0x0056BA}, 
{"\x87\xC6", 0x0056BB}, {"\x87\xC7", 0x0056BD}, {"\x87\xC8", 0x0056BE}, {"\x87\xC9", 0x0056BF}, 
{"\x87\xCA", 0x0056C0}, {"\x87\xCB", 0x0056C1}, {"\x87\xCC", 0x0056C2}, {"\x87\xCD", 0x0056C3}, 
{"\x87\xCE", 0x0056C4}, {"\x87\xCF", 0x0056C5}, {"\x87\xD0", 0x0056C6}, {"\x87\xD1", 0x0056C7}, 
{"\x87\xD2", 0x0056C8}, {"\x87\xD3", 0x0056C9}, {"\x87\xD4", 0x0056CB}, {"\x87\xD5", 0x0056CC}, 
{"\x87\xD6", 0x0056CD}, {"\x87\xD7", 0x0056CE}, {"\x87\xD8", 0x0056CF}, {"\x87\xD9", 0x0056D0}, 
{"\x87\xDA", 0x0056D1}, {"\x87\xDB", 0x0056D2}, {"\x87\xDC", 0x0056D3}, {"\x87\xDD", 0x0056D5}, 
{"\x87\xDE", 0x0056D6}, {"\x87\xDF", 0x0056D8}, {"\x87\xE0", 0x0056D9}, {"\x87\xE1", 0x0056DC}, 
{"\x87\xE2", 0x0056E3}, {"\x87\xE3", 0x0056E5}, {"\x87\xE4", 0x0056E6}, {"\x87\xE5", 0x0056E7}, 
{"\x87\xE6", 0x0056E8}, {"\x87\xE7", 0x0056E9}, {"\x87\xE8", 0x0056EA}, {"\x87\xE9", 0x0056EC}, 
{"\x87\xEA", 0x0056EE}, {"\x87\xEB", 0x0056EF}, {"\x87\xEC", 0x0056F2}, {"\x87\xED", 0x0056F3}, 
{"\x87\xEE", 0x0056F6}, {"\x87\xEF", 0x0056F7}, {"\x87\xF0", 0x0056F8}, {"\x87\xF1", 0x0056FB}, 
{"\x87\xF2", 0x0056FC}, {"\x87\xF3", 0x005700}, {"\x87\xF4", 0x005701}, {"\x87\xF5", 0x005702}, 
{"\x87\xF6", 0x005705}, {"\x87\xF7", 0x005707}, {"\x87\xF8", 0x00570B}, {"\x87\xF9", 0x00570C}, 
{"\x87\xFA", 0x00570D}, {"\x87\xFB", 0x00570E}, {"\x87\xFC", 0x00570F}, {"\x87\xFD", 0x005710}, 
{"\x87\xFE", 0x005711}, {"\x88\x40", 0x005712}, {"\x88\x41", 0x005713}, {"\x88\x42", 0x005714}, 
{"\x88\x43", 0x005715}, {"\x88\x44", 0x005716}, {"\x88\x45", 0x005717}, {"\x88\x46", 0x005718}, 
{"\x88\x47", 0x005719}, {"\x88\x48", 0x00571A}, {"\x88\x49", 0x00571B}, {"\x88\x4A", 0x00571D}, 
{"\x88\x4B", 0x00571E}, {"\x88\x4C", 0x005720}, {"\x88\x4D", 0x005721}, {"\x88\x4E", 0x005722}, 
{"\x88\x4F", 0x005724}, {"\x88\x50", 0x005725}, {"\x88\x51", 0x005726}, {"\x88\x52", 0x005727}, 
{"\x88\x53", 0x00572B}, {"\x88\x54", 0x005731}, {"\x88\x55", 0x005732}, {"\x88\x56", 0x005734}, 
{"\x88\x57", 0x005735}, {"\x88\x58", 0x005736}, {"\x88\x59", 0x005737}, {"\x88\x5A", 0x005738}, 
{"\x88\x5B", 0x00573C}, {"\x88\x5C", 0x00573D}, {"\x88\x5D", 0x00573F}, {"\x88\x5E", 0x005741}, 
{"\x88\x5F", 0x005743}, {"\x88\x60", 0x005744}, {"\x88\x61", 0x005745}, {"\x88\x62", 0x005746}, 
{"\x88\x63", 0x005748}, {"\x88\x64", 0x005749}, {"\x88\x65", 0x00574B}, {"\x88\x66", 0x005752}, 
{"\x88\x67", 0x005753}, {"\x88\x68", 0x005754}, {"\x88\x69", 0x005755}, {"\x88\x6A", 0x005756}, 
{"\x88\x6B", 0x005758}, {"\x88\x6C", 0x005759}, {"\x88\x6D", 0x005762}, {"\x88\x6E", 0x005763}, 
{"\x88\x6F", 0x005765}, {"\x88\x70", 0x005767}, {"\x88\x71", 0x00576C}, {"\x88\x72", 0x00576E}, 
{"\x88\x73", 0x005770}, {"\x88\x74", 0x005771}, {"\x88\x75", 0x005772}, {"\x88\x76", 0x005774}, 
{"\x88\x77", 0x005775}, {"\x88\x78", 0x005778}, {"\x88\x79", 0x005779}, {"\x88\x7A", 0x00577A}, 
{"\x88\x7B", 0x00577D}, {"\x88\x7C", 0x00577E}, {"\x88\x7D", 0x00577F}, {"\x88\x7E", 0x005780}, 
{"\x88\x80", 0x005781}, {"\x88\x81", 0x005787}, {"\x88\x82", 0x005788}, {"\x88\x83", 0x005789}, 
{"\x88\x84", 0x00578A}, {"\x88\x85", 0x00578D}, {"\x88\x86", 0x00578E}, {"\x88\x87", 0x00578F}, 
{"\x88\x88", 0x005790}, {"\x88\x89", 0x005791}, {"\x88\x8A", 0x005794}, {"\x88\x8B", 0x005795}, 
{"\x88\x8C", 0x005796}, {"\x88\x8D", 0x005797}, {"\x88\x8E", 0x005798}, {"\x88\x8F", 0x005799}, 

};
 for(size_t i=1; i<sizeof(db2bmp_05_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_05_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_06_gb18030_init()
{
static MB2UData db2bmp_06_gb18030 [] = { {"", 0}, 
{"\x88\x90", 0x00579A}, {"\x88\x91", 0x00579C}, {"\x88\x92", 0x00579D}, {"\x88\x93", 0x00579E}, 
{"\x88\x94", 0x00579F}, {"\x88\x95", 0x0057A5}, {"\x88\x96", 0x0057A8}, {"\x88\x97", 0x0057AA}, 
{"\x88\x98", 0x0057AC}, {"\x88\x99", 0x0057AF}, {"\x88\x9A", 0x0057B0}, {"\x88\x9B", 0x0057B1}, 
{"\x88\x9C", 0x0057B3}, {"\x88\x9D", 0x0057B5}, {"\x88\x9E", 0x0057B6}, {"\x88\x9F", 0x0057B7}, 
{"\x88\xA0", 0x0057B9}, {"\x88\xA1", 0x0057BA}, {"\x88\xA2", 0x0057BB}, {"\x88\xA3", 0x0057BC}, 
{"\x88\xA4", 0x0057BD}, {"\x88\xA5", 0x0057BE}, {"\x88\xA6", 0x0057BF}, {"\x88\xA7", 0x0057C0}, 
{"\x88\xA8", 0x0057C1}, {"\x88\xA9", 0x0057C4}, {"\x88\xAA", 0x0057C5}, {"\x88\xAB", 0x0057C6}, 
{"\x88\xAC", 0x0057C7}, {"\x88\xAD", 0x0057C8}, {"\x88\xAE", 0x0057C9}, {"\x88\xAF", 0x0057CA}, 
{"\x88\xB0", 0x0057CC}, {"\x88\xB1", 0x0057CD}, {"\x88\xB2", 0x0057D0}, {"\x88\xB3", 0x0057D1}, 
{"\x88\xB4", 0x0057D3}, {"\x88\xB5", 0x0057D6}, {"\x88\xB6", 0x0057D7}, {"\x88\xB7", 0x0057DB}, 
{"\x88\xB8", 0x0057DC}, {"\x88\xB9", 0x0057DE}, {"\x88\xBA", 0x0057E1}, {"\x88\xBB", 0x0057E2}, 
{"\x88\xBC", 0x0057E3}, {"\x88\xBD", 0x0057E5}, {"\x88\xBE", 0x0057E6}, {"\x88\xBF", 0x0057E7}, 
{"\x88\xC0", 0x0057E8}, {"\x88\xC1", 0x0057E9}, {"\x88\xC2", 0x0057EA}, {"\x88\xC3", 0x0057EB}, 
{"\x88\xC4", 0x0057EC}, {"\x88\xC5", 0x0057EE}, {"\x88\xC6", 0x0057F0}, {"\x88\xC7", 0x0057F1}, 
{"\x88\xC8", 0x0057F2}, {"\x88\xC9", 0x0057F3}, {"\x88\xCA", 0x0057F5}, {"\x88\xCB", 0x0057F6}, 
{"\x88\xCC", 0x0057F7}, {"\x88\xCD", 0x0057FB}, {"\x88\xCE", 0x0057FC}, {"\x88\xCF", 0x0057FE}, 
{"\x88\xD0", 0x0057FF}, {"\x88\xD1", 0x005801}, {"\x88\xD2", 0x005803}, {"\x88\xD3", 0x005804}, 
{"\x88\xD4", 0x005805}, {"\x88\xD5", 0x005808}, {"\x88\xD6", 0x005809}, {"\x88\xD7", 0x00580A}, 
{"\x88\xD8", 0x00580C}, {"\x88\xD9", 0x00580E}, {"\x88\xDA", 0x00580F}, {"\x88\xDB", 0x005810}, 
{"\x88\xDC", 0x005812}, {"\x88\xDD", 0x005813}, {"\x88\xDE", 0x005814}, {"\x88\xDF", 0x005816}, 
{"\x88\xE0", 0x005817}, {"\x88\xE1", 0x005818}, {"\x88\xE2", 0x00581A}, {"\x88\xE3", 0x00581B}, 
{"\x88\xE4", 0x00581C}, {"\x88\xE5", 0x00581D}, {"\x88\xE6", 0x00581F}, {"\x88\xE7", 0x005822}, 
{"\x88\xE8", 0x005823}, {"\x88\xE9", 0x005825}, {"\x88\xEA", 0x005826}, {"\x88\xEB", 0x005827}, 
{"\x88\xEC", 0x005828}, {"\x88\xED", 0x005829}, {"\x88\xEE", 0x00582B}, {"\x88\xEF", 0x00582C}, 
{"\x88\xF0", 0x00582D}, {"\x88\xF1", 0x00582E}, {"\x88\xF2", 0x00582F}, {"\x88\xF3", 0x005831}, 
{"\x88\xF4", 0x005832}, {"\x88\xF5", 0x005833}, {"\x88\xF6", 0x005834}, {"\x88\xF7", 0x005836}, 
{"\x88\xF8", 0x005837}, {"\x88\xF9", 0x005838}, {"\x88\xFA", 0x005839}, {"\x88\xFB", 0x00583A}, 
{"\x88\xFC", 0x00583B}, {"\x88\xFD", 0x00583C}, {"\x88\xFE", 0x00583D}, {"\x89\x40", 0x00583E}, 
{"\x89\x41", 0x00583F}, {"\x89\x42", 0x005840}, {"\x89\x43", 0x005841}, {"\x89\x44", 0x005842}, 
{"\x89\x45", 0x005843}, {"\x89\x46", 0x005845}, {"\x89\x47", 0x005846}, {"\x89\x48", 0x005847}, 
{"\x89\x49", 0x005848}, {"\x89\x4A", 0x005849}, {"\x89\x4B", 0x00584A}, {"\x89\x4C", 0x00584B}, 
{"\x89\x4D", 0x00584E}, {"\x89\x4E", 0x00584F}, {"\x89\x4F", 0x005850}, {"\x89\x50", 0x005852}, 
{"\x89\x51", 0x005853}, {"\x89\x52", 0x005855}, {"\x89\x53", 0x005856}, {"\x89\x54", 0x005857}, 
{"\x89\x55", 0x005859}, {"\x89\x56", 0x00585A}, {"\x89\x57", 0x00585B}, {"\x89\x58", 0x00585C}, 
{"\x89\x59", 0x00585D}, {"\x89\x5A", 0x00585F}, {"\x89\x5B", 0x005860}, {"\x89\x5C", 0x005861}, 
{"\x89\x5D", 0x005862}, {"\x89\x5E", 0x005863}, {"\x89\x5F", 0x005864}, {"\x89\x60", 0x005866}, 
{"\x89\x61", 0x005867}, {"\x89\x62", 0x005868}, {"\x89\x63", 0x005869}, {"\x89\x64", 0x00586A}, 
{"\x89\x65", 0x00586D}, {"\x89\x66", 0x00586E}, {"\x89\x67", 0x00586F}, {"\x89\x68", 0x005870}, 
{"\x89\x69", 0x005871}, {"\x89\x6A", 0x005872}, {"\x89\x6B", 0x005873}, {"\x89\x6C", 0x005874}, 
{"\x89\x6D", 0x005875}, {"\x89\x6E", 0x005876}, {"\x89\x6F", 0x005877}, {"\x89\x70", 0x005878}, 
{"\x89\x71", 0x005879}, {"\x89\x72", 0x00587A}, {"\x89\x73", 0x00587B}, {"\x89\x74", 0x00587C}, 
{"\x89\x75", 0x00587D}, {"\x89\x76", 0x00587F}, {"\x89\x77", 0x005882}, {"\x89\x78", 0x005884}, 
{"\x89\x79", 0x005886}, {"\x89\x7A", 0x005887}, {"\x89\x7B", 0x005888}, {"\x89\x7C", 0x00588A}, 
{"\x89\x7D", 0x00588B}, {"\x89\x7E", 0x00588C}, {"\x89\x80", 0x00588D}, {"\x89\x81", 0x00588E}, 
{"\x89\x82", 0x00588F}, {"\x89\x83", 0x005890}, {"\x89\x84", 0x005891}, {"\x89\x85", 0x005894}, 
{"\x89\x86", 0x005895}, {"\x89\x87", 0x005896}, {"\x89\x88", 0x005897}, {"\x89\x89", 0x005898}, 
{"\x89\x8A", 0x00589B}, {"\x89\x8B", 0x00589C}, {"\x89\x8C", 0x00589D}, {"\x89\x8D", 0x0058A0}, 
{"\x89\x8E", 0x0058A1}, {"\x89\x8F", 0x0058A2}, {"\x89\x90", 0x0058A3}, {"\x89\x91", 0x0058A4}, 
{"\x89\x92", 0x0058A5}, {"\x89\x93", 0x0058A6}, {"\x89\x94", 0x0058A7}, {"\x89\x95", 0x0058AA}, 
{"\x89\x96", 0x0058AB}, {"\x89\x97", 0x0058AC}, {"\x89\x98", 0x0058AD}, {"\x89\x99", 0x0058AE}, 
{"\x89\x9A", 0x0058AF}, {"\x89\x9B", 0x0058B0}, {"\x89\x9C", 0x0058B1}, {"\x89\x9D", 0x0058B2}, 
{"\x89\x9E", 0x0058B3}, {"\x89\x9F", 0x0058B4}, {"\x89\xA0", 0x0058B5}, {"\x89\xA1", 0x0058B6}, 
{"\x89\xA2", 0x0058B7}, {"\x89\xA3", 0x0058B8}, {"\x89\xA4", 0x0058B9}, {"\x89\xA5", 0x0058BA}, 
{"\x89\xA6", 0x0058BB}, {"\x89\xA7", 0x0058BD}, {"\x89\xA8", 0x0058BE}, {"\x89\xA9", 0x0058BF}, 
{"\x89\xAA", 0x0058C0}, {"\x89\xAB", 0x0058C2}, {"\x89\xAC", 0x0058C3}, {"\x89\xAD", 0x0058C4}, 
{"\x89\xAE", 0x0058C6}, {"\x89\xAF", 0x0058C7}, {"\x89\xB0", 0x0058C8}, {"\x89\xB1", 0x0058C9}, 
{"\x89\xB2", 0x0058CA}, {"\x89\xB3", 0x0058CB}, {"\x89\xB4", 0x0058CC}, {"\x89\xB5", 0x0058CD}, 
{"\x89\xB6", 0x0058CE}, {"\x89\xB7", 0x0058CF}, {"\x89\xB8", 0x0058D0}, {"\x89\xB9", 0x0058D2}, 
{"\x89\xBA", 0x0058D3}, {"\x89\xBB", 0x0058D4}, {"\x89\xBC", 0x0058D6}, {"\x89\xBD", 0x0058D7}, 
{"\x89\xBE", 0x0058D8}, {"\x89\xBF", 0x0058D9}, {"\x89\xC0", 0x0058DA}, {"\x89\xC1", 0x0058DB}, 
{"\x89\xC2", 0x0058DC}, {"\x89\xC3", 0x0058DD}, {"\x89\xC4", 0x0058DE}, {"\x89\xC5", 0x0058DF}, 
{"\x89\xC6", 0x0058E0}, {"\x89\xC7", 0x0058E1}, {"\x89\xC8", 0x0058E2}, {"\x89\xC9", 0x0058E3}, 
{"\x89\xCA", 0x0058E5}, {"\x89\xCB", 0x0058E6}, {"\x89\xCC", 0x0058E7}, {"\x89\xCD", 0x0058E8}, 
{"\x89\xCE", 0x0058E9}, {"\x89\xCF", 0x0058EA}, {"\x89\xD0", 0x0058ED}, {"\x89\xD1", 0x0058EF}, 

};
 for(size_t i=1; i<sizeof(db2bmp_06_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_06_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_07_gb18030_init()
{
static MB2UData db2bmp_07_gb18030 [] = { {"", 0}, 
{"\x89\xD2", 0x0058F1}, {"\x89\xD3", 0x0058F2}, {"\x89\xD4", 0x0058F4}, {"\x89\xD5", 0x0058F5}, 
{"\x89\xD6", 0x0058F7}, {"\x89\xD7", 0x0058F8}, {"\x89\xD8", 0x0058FA}, {"\x89\xD9", 0x0058FB}, 
{"\x89\xDA", 0x0058FC}, {"\x89\xDB", 0x0058FD}, {"\x89\xDC", 0x0058FE}, {"\x89\xDD", 0x0058FF}, 
{"\x89\xDE", 0x005900}, {"\x89\xDF", 0x005901}, {"\x89\xE0", 0x005903}, {"\x89\xE1", 0x005905}, 
{"\x89\xE2", 0x005906}, {"\x89\xE3", 0x005908}, {"\x89\xE4", 0x005909}, {"\x89\xE5", 0x00590A}, 
{"\x89\xE6", 0x00590B}, {"\x89\xE7", 0x00590C}, {"\x89\xE8", 0x00590E}, {"\x89\xE9", 0x005910}, 
{"\x89\xEA", 0x005911}, {"\x89\xEB", 0x005912}, {"\x89\xEC", 0x005913}, {"\x89\xED", 0x005917}, 
{"\x89\xEE", 0x005918}, {"\x89\xEF", 0x00591B}, {"\x89\xF0", 0x00591D}, {"\x89\xF1", 0x00591E}, 
{"\x89\xF2", 0x005920}, {"\x89\xF3", 0x005921}, {"\x89\xF4", 0x005922}, {"\x89\xF5", 0x005923}, 
{"\x89\xF6", 0x005926}, {"\x89\xF7", 0x005928}, {"\x89\xF8", 0x00592C}, {"\x89\xF9", 0x005930}, 
{"\x89\xFA", 0x005932}, {"\x89\xFB", 0x005933}, {"\x89\xFC", 0x005935}, {"\x89\xFD", 0x005936}, 
{"\x89\xFE", 0x00593B}, {"\x8A\x40", 0x00593D}, {"\x8A\x41", 0x00593E}, {"\x8A\x42", 0x00593F}, 
{"\x8A\x43", 0x005940}, {"\x8A\x44", 0x005943}, {"\x8A\x45", 0x005945}, {"\x8A\x46", 0x005946}, 
{"\x8A\x47", 0x00594A}, {"\x8A\x48", 0x00594C}, {"\x8A\x49", 0x00594D}, {"\x8A\x4A", 0x005950}, 
{"\x8A\x4B", 0x005952}, {"\x8A\x4C", 0x005953}, {"\x8A\x4D", 0x005959}, {"\x8A\x4E", 0x00595B}, 
{"\x8A\x4F", 0x00595C}, {"\x8A\x50", 0x00595D}, {"\x8A\x51", 0x00595E}, {"\x8A\x52", 0x00595F}, 
{"\x8A\x53", 0x005961}, {"\x8A\x54", 0x005963}, {"\x8A\x55", 0x005964}, {"\x8A\x56", 0x005966}, 
{"\x8A\x57", 0x005967}, {"\x8A\x58", 0x005968}, {"\x8A\x59", 0x005969}, {"\x8A\x5A", 0x00596A}, 
{"\x8A\x5B", 0x00596B}, {"\x8A\x5C", 0x00596C}, {"\x8A\x5D", 0x00596D}, {"\x8A\x5E", 0x00596E}, 
{"\x8A\x5F", 0x00596F}, {"\x8A\x60", 0x005970}, {"\x8A\x61", 0x005971}, {"\x8A\x62", 0x005972}, 
{"\x8A\x63", 0x005975}, {"\x8A\x64", 0x005977}, {"\x8A\x65", 0x00597A}, {"\x8A\x66", 0x00597B}, 
{"\x8A\x67", 0x00597C}, {"\x8A\x68", 0x00597E}, {"\x8A\x69", 0x00597F}, {"\x8A\x6A", 0x005980}, 
{"\x8A\x6B", 0x005985}, {"\x8A\x6C", 0x005989}, {"\x8A\x6D", 0x00598B}, {"\x8A\x6E", 0x00598C}, 
{"\x8A\x6F", 0x00598E}, {"\x8A\x70", 0x00598F}, {"\x8A\x71", 0x005990}, {"\x8A\x72", 0x005991}, 
{"\x8A\x73", 0x005994}, {"\x8A\x74", 0x005995}, {"\x8A\x75", 0x005998}, {"\x8A\x76", 0x00599A}, 
{"\x8A\x77", 0x00599B}, {"\x8A\x78", 0x00599C}, {"\x8A\x79", 0x00599D}, {"\x8A\x7A", 0x00599F}, 
{"\x8A\x7B", 0x0059A0}, {"\x8A\x7C", 0x0059A1}, {"\x8A\x7D", 0x0059A2}, {"\x8A\x7E", 0x0059A6}, 
{"\x8A\x80", 0x0059A7}, {"\x8A\x81", 0x0059AC}, {"\x8A\x82", 0x0059AD}, {"\x8A\x83", 0x0059B0}, 
{"\x8A\x84", 0x0059B1}, {"\x8A\x85", 0x0059B3}, {"\x8A\x86", 0x0059B4}, {"\x8A\x87", 0x0059B5}, 
{"\x8A\x88", 0x0059B6}, {"\x8A\x89", 0x0059B7}, {"\x8A\x8A", 0x0059B8}, {"\x8A\x8B", 0x0059BA}, 
{"\x8A\x8C", 0x0059BC}, {"\x8A\x8D", 0x0059BD}, {"\x8A\x8E", 0x0059BF}, {"\x8A\x8F", 0x0059C0}, 
{"\x8A\x90", 0x0059C1}, {"\x8A\x91", 0x0059C2}, {"\x8A\x92", 0x0059C3}, {"\x8A\x93", 0x0059C4}, 
{"\x8A\x94", 0x0059C5}, {"\x8A\x95", 0x0059C7}, {"\x8A\x96", 0x0059C8}, {"\x8A\x97", 0x0059C9}, 
{"\x8A\x98", 0x0059CC}, {"\x8A\x99", 0x0059CD}, {"\x8A\x9A", 0x0059CE}, {"\x8A\x9B", 0x0059CF}, 
{"\x8A\x9C", 0x0059D5}, {"\x8A\x9D", 0x0059D6}, {"\x8A\x9E", 0x0059D9}, {"\x8A\x9F", 0x0059DB}, 
{"\x8A\xA0", 0x0059DE}, {"\x8A\xA1", 0x0059DF}, {"\x8A\xA2", 0x0059E0}, {"\x8A\xA3", 0x0059E1}, 
{"\x8A\xA4", 0x0059E2}, {"\x8A\xA5", 0x0059E4}, {"\x8A\xA6", 0x0059E6}, {"\x8A\xA7", 0x0059E7}, 
{"\x8A\xA8", 0x0059E9}, {"\x8A\xA9", 0x0059EA}, {"\x8A\xAA", 0x0059EB}, {"\x8A\xAB", 0x0059ED}, 
{"\x8A\xAC", 0x0059EE}, {"\x8A\xAD", 0x0059EF}, {"\x8A\xAE", 0x0059F0}, {"\x8A\xAF", 0x0059F1}, 
{"\x8A\xB0", 0x0059F2}, {"\x8A\xB1", 0x0059F3}, {"\x8A\xB2", 0x0059F4}, {"\x8A\xB3", 0x0059F5}, 
{"\x8A\xB4", 0x0059F6}, {"\x8A\xB5", 0x0059F7}, {"\x8A\xB6", 0x0059F8}, {"\x8A\xB7", 0x0059FA}, 
{"\x8A\xB8", 0x0059FC}, {"\x8A\xB9", 0x0059FD}, {"\x8A\xBA", 0x0059FE}, {"\x8A\xBB", 0x005A00}, 
{"\x8A\xBC", 0x005A02}, {"\x8A\xBD", 0x005A0A}, {"\x8A\xBE", 0x005A0B}, {"\x8A\xBF", 0x005A0D}, 
{"\x8A\xC0", 0x005A0E}, {"\x8A\xC1", 0x005A0F}, {"\x8A\xC2", 0x005A10}, {"\x8A\xC3", 0x005A12}, 
{"\x8A\xC4", 0x005A14}, {"\x8A\xC5", 0x005A15}, {"\x8A\xC6", 0x005A16}, {"\x8A\xC7", 0x005A17}, 
{"\x8A\xC8", 0x005A19}, {"\x8A\xC9", 0x005A1A}, {"\x8A\xCA", 0x005A1B}, {"\x8A\xCB", 0x005A1D}, 
{"\x8A\xCC", 0x005A1E}, {"\x8A\xCD", 0x005A21}, {"\x8A\xCE", 0x005A22}, {"\x8A\xCF", 0x005A24}, 
{"\x8A\xD0", 0x005A26}, {"\x8A\xD1", 0x005A27}, {"\x8A\xD2", 0x005A28}, {"\x8A\xD3", 0x005A2A}, 
{"\x8A\xD4", 0x005A2B}, {"\x8A\xD5", 0x005A2C}, {"\x8A\xD6", 0x005A2D}, {"\x8A\xD7", 0x005A2E}, 
{"\x8A\xD8", 0x005A2F}, {"\x8A\xD9", 0x005A30}, {"\x8A\xDA", 0x005A33}, {"\x8A\xDB", 0x005A35}, 
{"\x8A\xDC", 0x005A37}, {"\x8A\xDD", 0x005A38}, {"\x8A\xDE", 0x005A39}, {"\x8A\xDF", 0x005A3A}, 
{"\x8A\xE0", 0x005A3B}, {"\x8A\xE1", 0x005A3D}, {"\x8A\xE2", 0x005A3E}, {"\x8A\xE3", 0x005A3F}, 
{"\x8A\xE4", 0x005A41}, {"\x8A\xE5", 0x005A42}, {"\x8A\xE6", 0x005A43}, {"\x8A\xE7", 0x005A44}, 
{"\x8A\xE8", 0x005A45}, {"\x8A\xE9", 0x005A47}, {"\x8A\xEA", 0x005A48}, {"\x8A\xEB", 0x005A4B}, 
{"\x8A\xEC", 0x005A4C}, {"\x8A\xED", 0x005A4D}, {"\x8A\xEE", 0x005A4E}, {"\x8A\xEF", 0x005A4F}, 
{"\x8A\xF0", 0x005A50}, {"\x8A\xF1", 0x005A51}, {"\x8A\xF2", 0x005A52}, {"\x8A\xF3", 0x005A53}, 
{"\x8A\xF4", 0x005A54}, {"\x8A\xF5", 0x005A56}, {"\x8A\xF6", 0x005A57}, {"\x8A\xF7", 0x005A58}, 
{"\x8A\xF8", 0x005A59}, {"\x8A\xF9", 0x005A5B}, {"\x8A\xFA", 0x005A5C}, {"\x8A\xFB", 0x005A5D}, 
{"\x8A\xFC", 0x005A5E}, {"\x8A\xFD", 0x005A5F}, {"\x8A\xFE", 0x005A60}, {"\x8B\x40", 0x005A61}, 
{"\x8B\x41", 0x005A63}, {"\x8B\x42", 0x005A64}, {"\x8B\x43", 0x005A65}, {"\x8B\x44", 0x005A66}, 
{"\x8B\x45", 0x005A68}, {"\x8B\x46", 0x005A69}, {"\x8B\x47", 0x005A6B}, {"\x8B\x48", 0x005A6C}, 
{"\x8B\x49", 0x005A6D}, {"\x8B\x4A", 0x005A6E}, {"\x8B\x4B", 0x005A6F}, {"\x8B\x4C", 0x005A70}, 
{"\x8B\x4D", 0x005A71}, {"\x8B\x4E", 0x005A72}, {"\x8B\x4F", 0x005A73}, {"\x8B\x50", 0x005A78}, 
{"\x8B\x51", 0x005A79}, {"\x8B\x52", 0x005A7B}, {"\x8B\x53", 0x005A7C}, {"\x8B\x54", 0x005A7D}, 

};
 for(size_t i=1; i<sizeof(db2bmp_07_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_07_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_08_gb18030_init()
{
static MB2UData db2bmp_08_gb18030 [] = { {"", 0}, 
{"\x8B\x55", 0x005A7E}, {"\x8B\x56", 0x005A80}, {"\x8B\x57", 0x005A81}, {"\x8B\x58", 0x005A82}, 
{"\x8B\x59", 0x005A83}, {"\x8B\x5A", 0x005A84}, {"\x8B\x5B", 0x005A85}, {"\x8B\x5C", 0x005A86}, 
{"\x8B\x5D", 0x005A87}, {"\x8B\x5E", 0x005A88}, {"\x8B\x5F", 0x005A89}, {"\x8B\x60", 0x005A8A}, 
{"\x8B\x61", 0x005A8B}, {"\x8B\x62", 0x005A8C}, {"\x8B\x63", 0x005A8D}, {"\x8B\x64", 0x005A8E}, 
{"\x8B\x65", 0x005A8F}, {"\x8B\x66", 0x005A90}, {"\x8B\x67", 0x005A91}, {"\x8B\x68", 0x005A93}, 
{"\x8B\x69", 0x005A94}, {"\x8B\x6A", 0x005A95}, {"\x8B\x6B", 0x005A96}, {"\x8B\x6C", 0x005A97}, 
{"\x8B\x6D", 0x005A98}, {"\x8B\x6E", 0x005A99}, {"\x8B\x6F", 0x005A9C}, {"\x8B\x70", 0x005A9D}, 
{"\x8B\x71", 0x005A9E}, {"\x8B\x72", 0x005A9F}, {"\x8B\x73", 0x005AA0}, {"\x8B\x74", 0x005AA1}, 
{"\x8B\x75", 0x005AA2}, {"\x8B\x76", 0x005AA3}, {"\x8B\x77", 0x005AA4}, {"\x8B\x78", 0x005AA5}, 
{"\x8B\x79", 0x005AA6}, {"\x8B\x7A", 0x005AA7}, {"\x8B\x7B", 0x005AA8}, {"\x8B\x7C", 0x005AA9}, 
{"\x8B\x7D", 0x005AAB}, {"\x8B\x7E", 0x005AAC}, {"\x8B\x80", 0x005AAD}, {"\x8B\x81", 0x005AAE}, 
{"\x8B\x82", 0x005AAF}, {"\x8B\x83", 0x005AB0}, {"\x8B\x84", 0x005AB1}, {"\x8B\x85", 0x005AB4}, 
{"\x8B\x86", 0x005AB6}, {"\x8B\x87", 0x005AB7}, {"\x8B\x88", 0x005AB9}, {"\x8B\x89", 0x005ABA}, 
{"\x8B\x8A", 0x005ABB}, {"\x8B\x8B", 0x005ABC}, {"\x8B\x8C", 0x005ABD}, {"\x8B\x8D", 0x005ABF}, 
{"\x8B\x8E", 0x005AC0}, {"\x8B\x8F", 0x005AC3}, {"\x8B\x90", 0x005AC4}, {"\x8B\x91", 0x005AC5}, 
{"\x8B\x92", 0x005AC6}, {"\x8B\x93", 0x005AC7}, {"\x8B\x94", 0x005AC8}, {"\x8B\x95", 0x005ACA}, 
{"\x8B\x96", 0x005ACB}, {"\x8B\x97", 0x005ACD}, {"\x8B\x98", 0x005ACE}, {"\x8B\x99", 0x005ACF}, 
{"\x8B\x9A", 0x005AD0}, {"\x8B\x9B", 0x005AD1}, {"\x8B\x9C", 0x005AD3}, {"\x8B\x9D", 0x005AD5}, 
{"\x8B\x9E", 0x005AD7}, {"\x8B\x9F", 0x005AD9}, {"\x8B\xA0", 0x005ADA}, {"\x8B\xA1", 0x005ADB}, 
{"\x8B\xA2", 0x005ADD}, {"\x8B\xA3", 0x005ADE}, {"\x8B\xA4", 0x005ADF}, {"\x8B\xA5", 0x005AE2}, 
{"\x8B\xA6", 0x005AE4}, {"\x8B\xA7", 0x005AE5}, {"\x8B\xA8", 0x005AE7}, {"\x8B\xA9", 0x005AE8}, 
{"\x8B\xAA", 0x005AEA}, {"\x8B\xAB", 0x005AEC}, {"\x8B\xAC", 0x005AED}, {"\x8B\xAD", 0x005AEE}, 
{"\x8B\xAE", 0x005AEF}, {"\x8B\xAF", 0x005AF0}, {"\x8B\xB0", 0x005AF2}, {"\x8B\xB1", 0x005AF3}, 
{"\x8B\xB2", 0x005AF4}, {"\x8B\xB3", 0x005AF5}, {"\x8B\xB4", 0x005AF6}, {"\x8B\xB5", 0x005AF7}, 
{"\x8B\xB6", 0x005AF8}, {"\x8B\xB7", 0x005AF9}, {"\x8B\xB8", 0x005AFA}, {"\x8B\xB9", 0x005AFB}, 
{"\x8B\xBA", 0x005AFC}, {"\x8B\xBB", 0x005AFD}, {"\x8B\xBC", 0x005AFE}, {"\x8B\xBD", 0x005AFF}, 
{"\x8B\xBE", 0x005B00}, {"\x8B\xBF", 0x005B01}, {"\x8B\xC0", 0x005B02}, {"\x8B\xC1", 0x005B03}, 
{"\x8B\xC2", 0x005B04}, {"\x8B\xC3", 0x005B05}, {"\x8B\xC4", 0x005B06}, {"\x8B\xC5", 0x005B07}, 
{"\x8B\xC6", 0x005B08}, {"\x8B\xC7", 0x005B0A}, {"\x8B\xC8", 0x005B0B}, {"\x8B\xC9", 0x005B0C}, 
{"\x8B\xCA", 0x005B0D}, {"\x8B\xCB", 0x005B0E}, {"\x8B\xCC", 0x005B0F}, {"\x8B\xCD", 0x005B10}, 
{"\x8B\xCE", 0x005B11}, {"\x8B\xCF", 0x005B12}, {"\x8B\xD0", 0x005B13}, {"\x8B\xD1", 0x005B14}, 
{"\x8B\xD2", 0x005B15}, {"\x8B\xD3", 0x005B18}, {"\x8B\xD4", 0x005B19}, {"\x8B\xD5", 0x005B1A}, 
{"\x8B\xD6", 0x005B1B}, {"\x8B\xD7", 0x005B1C}, {"\x8B\xD8", 0x005B1D}, {"\x8B\xD9", 0x005B1E}, 
{"\x8B\xDA", 0x005B1F}, {"\x8B\xDB", 0x005B20}, {"\x8B\xDC", 0x005B21}, {"\x8B\xDD", 0x005B22}, 
{"\x8B\xDE", 0x005B23}, {"\x8B\xDF", 0x005B24}, {"\x8B\xE0", 0x005B25}, {"\x8B\xE1", 0x005B26}, 
{"\x8B\xE2", 0x005B27}, {"\x8B\xE3", 0x005B28}, {"\x8B\xE4", 0x005B29}, {"\x8B\xE5", 0x005B2A}, 
{"\x8B\xE6", 0x005B2B}, {"\x8B\xE7", 0x005B2C}, {"\x8B\xE8", 0x005B2D}, {"\x8B\xE9", 0x005B2E}, 
{"\x8B\xEA", 0x005B2F}, {"\x8B\xEB", 0x005B30}, {"\x8B\xEC", 0x005B31}, {"\x8B\xED", 0x005B33}, 
{"\x8B\xEE", 0x005B35}, {"\x8B\xEF", 0x005B36}, {"\x8B\xF0", 0x005B38}, {"\x8B\xF1", 0x005B39}, 
{"\x8B\xF2", 0x005B3A}, {"\x8B\xF3", 0x005B3B}, {"\x8B\xF4", 0x005B3C}, {"\x8B\xF5", 0x005B3D}, 
{"\x8B\xF6", 0x005B3E}, {"\x8B\xF7", 0x005B3F}, {"\x8B\xF8", 0x005B41}, {"\x8B\xF9", 0x005B42}, 
{"\x8B\xFA", 0x005B43}, {"\x8B\xFB", 0x005B44}, {"\x8B\xFC", 0x005B45}, {"\x8B\xFD", 0x005B46}, 
{"\x8B\xFE", 0x005B47}, {"\x8C\x40", 0x005B48}, {"\x8C\x41", 0x005B49}, {"\x8C\x42", 0x005B4A}, 
{"\x8C\x43", 0x005B4B}, {"\x8C\x44", 0x005B4C}, {"\x8C\x45", 0x005B4D}, {"\x8C\x46", 0x005B4E}, 
{"\x8C\x47", 0x005B4F}, {"\x8C\x48", 0x005B52}, {"\x8C\x49", 0x005B56}, {"\x8C\x4A", 0x005B5E}, 
{"\x8C\x4B", 0x005B60}, {"\x8C\x4C", 0x005B61}, {"\x8C\x4D", 0x005B67}, {"\x8C\x4E", 0x005B68}, 
{"\x8C\x4F", 0x005B6B}, {"\x8C\x50", 0x005B6D}, {"\x8C\x51", 0x005B6E}, {"\x8C\x52", 0x005B6F}, 
{"\x8C\x53", 0x005B72}, {"\x8C\x54", 0x005B74}, {"\x8C\x55", 0x005B76}, {"\x8C\x56", 0x005B77}, 
{"\x8C\x57", 0x005B78}, {"\x8C\x58", 0x005B79}, {"\x8C\x59", 0x005B7B}, {"\x8C\x5A", 0x005B7C}, 
{"\x8C\x5B", 0x005B7E}, {"\x8C\x5C", 0x005B7F}, {"\x8C\x5D", 0x005B82}, {"\x8C\x5E", 0x005B86}, 
{"\x8C\x5F", 0x005B8A}, {"\x8C\x60", 0x005B8D}, {"\x8C\x61", 0x005B8E}, {"\x8C\x62", 0x005B90}, 
{"\x8C\x63", 0x005B91}, {"\x8C\x64", 0x005B92}, {"\x8C\x65", 0x005B94}, {"\x8C\x66", 0x005B96}, 
{"\x8C\x67", 0x005B9F}, {"\x8C\x68", 0x005BA7}, {"\x8C\x69", 0x005BA8}, {"\x8C\x6A", 0x005BA9}, 
{"\x8C\x6B", 0x005BAC}, {"\x8C\x6C", 0x005BAD}, {"\x8C\x6D", 0x005BAE}, {"\x8C\x6E", 0x005BAF}, 
{"\x8C\x6F", 0x005BB1}, {"\x8C\x70", 0x005BB2}, {"\x8C\x71", 0x005BB7}, {"\x8C\x72", 0x005BBA}, 
{"\x8C\x73", 0x005BBB}, {"\x8C\x74", 0x005BBC}, {"\x8C\x75", 0x005BC0}, {"\x8C\x76", 0x005BC1}, 
{"\x8C\x77", 0x005BC3}, {"\x8C\x78", 0x005BC8}, {"\x8C\x79", 0x005BC9}, {"\x8C\x7A", 0x005BCA}, 
{"\x8C\x7B", 0x005BCB}, {"\x8C\x7C", 0x005BCD}, {"\x8C\x7D", 0x005BCE}, {"\x8C\x7E", 0x005BCF}, 
{"\x8C\x80", 0x005BD1}, {"\x8C\x81", 0x005BD4}, {"\x8C\x82", 0x005BD5}, {"\x8C\x83", 0x005BD6}, 
{"\x8C\x84", 0x005BD7}, {"\x8C\x85", 0x005BD8}, {"\x8C\x86", 0x005BD9}, {"\x8C\x87", 0x005BDA}, 
{"\x8C\x88", 0x005BDB}, {"\x8C\x89", 0x005BDC}, {"\x8C\x8A", 0x005BE0}, {"\x8C\x8B", 0x005BE2}, 
{"\x8C\x8C", 0x005BE3}, {"\x8C\x8D", 0x005BE6}, {"\x8C\x8E", 0x005BE7}, {"\x8C\x8F", 0x005BE9}, 
{"\x8C\x90", 0x005BEA}, {"\x8C\x91", 0x005BEB}, {"\x8C\x92", 0x005BEC}, {"\x8C\x93", 0x005BED}, 
{"\x8C\x94", 0x005BEF}, {"\x8C\x95", 0x005BF1}, {"\x8C\x96", 0x005BF2}, {"\x8C\x97", 0x005BF3}, 

};
 for(size_t i=1; i<sizeof(db2bmp_08_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_08_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_09_gb18030_init()
{
static MB2UData db2bmp_09_gb18030 [] = { {"", 0}, 
{"\x8C\x98", 0x005BF4}, {"\x8C\x99", 0x005BF5}, {"\x8C\x9A", 0x005BF6}, {"\x8C\x9B", 0x005BF7}, 
{"\x8C\x9C", 0x005BFD}, {"\x8C\x9D", 0x005BFE}, {"\x8C\x9E", 0x005C00}, {"\x8C\x9F", 0x005C02}, 
{"\x8C\xA0", 0x005C03}, {"\x8C\xA1", 0x005C05}, {"\x8C\xA2", 0x005C07}, {"\x8C\xA3", 0x005C08}, 
{"\x8C\xA4", 0x005C0B}, {"\x8C\xA5", 0x005C0C}, {"\x8C\xA6", 0x005C0D}, {"\x8C\xA7", 0x005C0E}, 
{"\x8C\xA8", 0x005C10}, {"\x8C\xA9", 0x005C12}, {"\x8C\xAA", 0x005C13}, {"\x8C\xAB", 0x005C17}, 
{"\x8C\xAC", 0x005C19}, {"\x8C\xAD", 0x005C1B}, {"\x8C\xAE", 0x005C1E}, {"\x8C\xAF", 0x005C1F}, 
{"\x8C\xB0", 0x005C20}, {"\x8C\xB1", 0x005C21}, {"\x8C\xB2", 0x005C23}, {"\x8C\xB3", 0x005C26}, 
{"\x8C\xB4", 0x005C28}, {"\x8C\xB5", 0x005C29}, {"\x8C\xB6", 0x005C2A}, {"\x8C\xB7", 0x005C2B}, 
{"\x8C\xB8", 0x005C2D}, {"\x8C\xB9", 0x005C2E}, {"\x8C\xBA", 0x005C2F}, {"\x8C\xBB", 0x005C30}, 
{"\x8C\xBC", 0x005C32}, {"\x8C\xBD", 0x005C33}, {"\x8C\xBE", 0x005C35}, {"\x8C\xBF", 0x005C36}, 
{"\x8C\xC0", 0x005C37}, {"\x8C\xC1", 0x005C43}, {"\x8C\xC2", 0x005C44}, {"\x8C\xC3", 0x005C46}, 
{"\x8C\xC4", 0x005C47}, {"\x8C\xC5", 0x005C4C}, {"\x8C\xC6", 0x005C4D}, {"\x8C\xC7", 0x005C52}, 
{"\x8C\xC8", 0x005C53}, {"\x8C\xC9", 0x005C54}, {"\x8C\xCA", 0x005C56}, {"\x8C\xCB", 0x005C57}, 
{"\x8C\xCC", 0x005C58}, {"\x8C\xCD", 0x005C5A}, {"\x8C\xCE", 0x005C5B}, {"\x8C\xCF", 0x005C5C}, 
{"\x8C\xD0", 0x005C5D}, {"\x8C\xD1", 0x005C5F}, {"\x8C\xD2", 0x005C62}, {"\x8C\xD3", 0x005C64}, 
{"\x8C\xD4", 0x005C67}, {"\x8C\xD5", 0x005C68}, {"\x8C\xD6", 0x005C69}, {"\x8C\xD7", 0x005C6A}, 
{"\x8C\xD8", 0x005C6B}, {"\x8C\xD9", 0x005C6C}, {"\x8C\xDA", 0x005C6D}, {"\x8C\xDB", 0x005C70}, 
{"\x8C\xDC", 0x005C72}, {"\x8C\xDD", 0x005C73}, {"\x8C\xDE", 0x005C74}, {"\x8C\xDF", 0x005C75}, 
{"\x8C\xE0", 0x005C76}, {"\x8C\xE1", 0x005C77}, {"\x8C\xE2", 0x005C78}, {"\x8C\xE3", 0x005C7B}, 
{"\x8C\xE4", 0x005C7C}, {"\x8C\xE5", 0x005C7D}, {"\x8C\xE6", 0x005C7E}, {"\x8C\xE7", 0x005C80}, 
{"\x8C\xE8", 0x005C83}, {"\x8C\xE9", 0x005C84}, {"\x8C\xEA", 0x005C85}, {"\x8C\xEB", 0x005C86}, 
{"\x8C\xEC", 0x005C87}, {"\x8C\xED", 0x005C89}, {"\x8C\xEE", 0x005C8A}, {"\x8C\xEF", 0x005C8B}, 
{"\x8C\xF0", 0x005C8E}, {"\x8C\xF1", 0x005C8F}, {"\x8C\xF2", 0x005C92}, {"\x8C\xF3", 0x005C93}, 
{"\x8C\xF4", 0x005C95}, {"\x8C\xF5", 0x005C9D}, {"\x8C\xF6", 0x005C9E}, {"\x8C\xF7", 0x005C9F}, 
{"\x8C\xF8", 0x005CA0}, {"\x8C\xF9", 0x005CA1}, {"\x8C\xFA", 0x005CA4}, {"\x8C\xFB", 0x005CA5}, 
{"\x8C\xFC", 0x005CA6}, {"\x8C\xFD", 0x005CA7}, {"\x8C\xFE", 0x005CA8}, {"\x8D\x40", 0x005CAA}, 
{"\x8D\x41", 0x005CAE}, {"\x8D\x42", 0x005CAF}, {"\x8D\x43", 0x005CB0}, {"\x8D\x44", 0x005CB2}, 
{"\x8D\x45", 0x005CB4}, {"\x8D\x46", 0x005CB6}, {"\x8D\x47", 0x005CB9}, {"\x8D\x48", 0x005CBA}, 
{"\x8D\x49", 0x005CBB}, {"\x8D\x4A", 0x005CBC}, {"\x8D\x4B", 0x005CBE}, {"\x8D\x4C", 0x005CC0}, 
{"\x8D\x4D", 0x005CC2}, {"\x8D\x4E", 0x005CC3}, {"\x8D\x4F", 0x005CC5}, {"\x8D\x50", 0x005CC6}, 
{"\x8D\x51", 0x005CC7}, {"\x8D\x52", 0x005CC8}, {"\x8D\x53", 0x005CC9}, {"\x8D\x54", 0x005CCA}, 
{"\x8D\x55", 0x005CCC}, {"\x8D\x56", 0x005CCD}, {"\x8D\x57", 0x005CCE}, {"\x8D\x58", 0x005CCF}, 
{"\x8D\x59", 0x005CD0}, {"\x8D\x5A", 0x005CD1}, {"\x8D\x5B", 0x005CD3}, {"\x8D\x5C", 0x005CD4}, 
{"\x8D\x5D", 0x005CD5}, {"\x8D\x5E", 0x005CD6}, {"\x8D\x5F", 0x005CD7}, {"\x8D\x60", 0x005CD8}, 
{"\x8D\x61", 0x005CDA}, {"\x8D\x62", 0x005CDB}, {"\x8D\x63", 0x005CDC}, {"\x8D\x64", 0x005CDD}, 
{"\x8D\x65", 0x005CDE}, {"\x8D\x66", 0x005CDF}, {"\x8D\x67", 0x005CE0}, {"\x8D\x68", 0x005CE2}, 
{"\x8D\x69", 0x005CE3}, {"\x8D\x6A", 0x005CE7}, {"\x8D\x6B", 0x005CE9}, {"\x8D\x6C", 0x005CEB}, 
{"\x8D\x6D", 0x005CEC}, {"\x8D\x6E", 0x005CEE}, {"\x8D\x6F", 0x005CEF}, {"\x8D\x70", 0x005CF1}, 
{"\x8D\x71", 0x005CF2}, {"\x8D\x72", 0x005CF3}, {"\x8D\x73", 0x005CF4}, {"\x8D\x74", 0x005CF5}, 
{"\x8D\x75", 0x005CF6}, {"\x8D\x76", 0x005CF7}, {"\x8D\x77", 0x005CF8}, {"\x8D\x78", 0x005CF9}, 
{"\x8D\x79", 0x005CFA}, {"\x8D\x7A", 0x005CFC}, {"\x8D\x7B", 0x005CFD}, {"\x8D\x7C", 0x005CFE}, 
{"\x8D\x7D", 0x005CFF}, {"\x8D\x7E", 0x005D00}, {"\x8D\x80", 0x005D01}, {"\x8D\x81", 0x005D04}, 
{"\x8D\x82", 0x005D05}, {"\x8D\x83", 0x005D08}, {"\x8D\x84", 0x005D09}, {"\x8D\x85", 0x005D0A}, 
{"\x8D\x86", 0x005D0B}, {"\x8D\x87", 0x005D0C}, {"\x8D\x88", 0x005D0D}, {"\x8D\x89", 0x005D0F}, 
{"\x8D\x8A", 0x005D10}, {"\x8D\x8B", 0x005D11}, {"\x8D\x8C", 0x005D12}, {"\x8D\x8D", 0x005D13}, 
{"\x8D\x8E", 0x005D15}, {"\x8D\x8F", 0x005D17}, {"\x8D\x90", 0x005D18}, {"\x8D\x91", 0x005D19}, 
{"\x8D\x92", 0x005D1A}, {"\x8D\x93", 0x005D1C}, {"\x8D\x94", 0x005D1D}, {"\x8D\x95", 0x005D1F}, 
{"\x8D\x96", 0x005D20}, {"\x8D\x97", 0x005D21}, {"\x8D\x98", 0x005D22}, {"\x8D\x99", 0x005D23}, 
{"\x8D\x9A", 0x005D25}, {"\x8D\x9B", 0x005D28}, {"\x8D\x9C", 0x005D2A}, {"\x8D\x9D", 0x005D2B}, 
{"\x8D\x9E", 0x005D2C}, {"\x8D\x9F", 0x005D2F}, {"\x8D\xA0", 0x005D30}, {"\x8D\xA1", 0x005D31}, 
{"\x8D\xA2", 0x005D32}, {"\x8D\xA3", 0x005D33}, {"\x8D\xA4", 0x005D35}, {"\x8D\xA5", 0x005D36}, 
{"\x8D\xA6", 0x005D37}, {"\x8D\xA7", 0x005D38}, {"\x8D\xA8", 0x005D39}, {"\x8D\xA9", 0x005D3A}, 
{"\x8D\xAA", 0x005D3B}, {"\x8D\xAB", 0x005D3C}, {"\x8D\xAC", 0x005D3F}, {"\x8D\xAD", 0x005D40}, 
{"\x8D\xAE", 0x005D41}, {"\x8D\xAF", 0x005D42}, {"\x8D\xB0", 0x005D43}, {"\x8D\xB1", 0x005D44}, 
{"\x8D\xB2", 0x005D45}, {"\x8D\xB3", 0x005D46}, {"\x8D\xB4", 0x005D48}, {"\x8D\xB5", 0x005D49}, 
{"\x8D\xB6", 0x005D4D}, {"\x8D\xB7", 0x005D4E}, {"\x8D\xB8", 0x005D4F}, {"\x8D\xB9", 0x005D50}, 
{"\x8D\xBA", 0x005D51}, {"\x8D\xBB", 0x005D52}, {"\x8D\xBC", 0x005D53}, {"\x8D\xBD", 0x005D54}, 
{"\x8D\xBE", 0x005D55}, {"\x8D\xBF", 0x005D56}, {"\x8D\xC0", 0x005D57}, {"\x8D\xC1", 0x005D59}, 
{"\x8D\xC2", 0x005D5A}, {"\x8D\xC3", 0x005D5C}, {"\x8D\xC4", 0x005D5E}, {"\x8D\xC5", 0x005D5F}, 
{"\x8D\xC6", 0x005D60}, {"\x8D\xC7", 0x005D61}, {"\x8D\xC8", 0x005D62}, {"\x8D\xC9", 0x005D63}, 
{"\x8D\xCA", 0x005D64}, {"\x8D\xCB", 0x005D65}, {"\x8D\xCC", 0x005D66}, {"\x8D\xCD", 0x005D67}, 
{"\x8D\xCE", 0x005D68}, {"\x8D\xCF", 0x005D6A}, {"\x8D\xD0", 0x005D6D}, {"\x8D\xD1", 0x005D6E}, 
{"\x8D\xD2", 0x005D70}, {"\x8D\xD3", 0x005D71}, {"\x8D\xD4", 0x005D72}, {"\x8D\xD5", 0x005D73}, 
{"\x8D\xD6", 0x005D75}, {"\x8D\xD7", 0x005D76}, {"\x8D\xD8", 0x005D77}, {"\x8D\xD9", 0x005D78}, 

};
 for(size_t i=1; i<sizeof(db2bmp_09_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_09_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_0a_gb18030_init()
{
static MB2UData db2bmp_0a_gb18030 [] = { {"", 0}, 
{"\x8D\xDA", 0x005D79}, {"\x8D\xDB", 0x005D7A}, {"\x8D\xDC", 0x005D7B}, {"\x8D\xDD", 0x005D7C}, 
{"\x8D\xDE", 0x005D7D}, {"\x8D\xDF", 0x005D7E}, {"\x8D\xE0", 0x005D7F}, {"\x8D\xE1", 0x005D80}, 
{"\x8D\xE2", 0x005D81}, {"\x8D\xE3", 0x005D83}, {"\x8D\xE4", 0x005D84}, {"\x8D\xE5", 0x005D85}, 
{"\x8D\xE6", 0x005D86}, {"\x8D\xE7", 0x005D87}, {"\x8D\xE8", 0x005D88}, {"\x8D\xE9", 0x005D89}, 
{"\x8D\xEA", 0x005D8A}, {"\x8D\xEB", 0x005D8B}, {"\x8D\xEC", 0x005D8C}, {"\x8D\xED", 0x005D8D}, 
{"\x8D\xEE", 0x005D8E}, {"\x8D\xEF", 0x005D8F}, {"\x8D\xF0", 0x005D90}, {"\x8D\xF1", 0x005D91}, 
{"\x8D\xF2", 0x005D92}, {"\x8D\xF3", 0x005D93}, {"\x8D\xF4", 0x005D94}, {"\x8D\xF5", 0x005D95}, 
{"\x8D\xF6", 0x005D96}, {"\x8D\xF7", 0x005D97}, {"\x8D\xF8", 0x005D98}, {"\x8D\xF9", 0x005D9A}, 
{"\x8D\xFA", 0x005D9B}, {"\x8D\xFB", 0x005D9C}, {"\x8D\xFC", 0x005D9E}, {"\x8D\xFD", 0x005D9F}, 
{"\x8D\xFE", 0x005DA0}, {"\x8E\x40", 0x005DA1}, {"\x8E\x41", 0x005DA2}, {"\x8E\x42", 0x005DA3}, 
{"\x8E\x43", 0x005DA4}, {"\x8E\x44", 0x005DA5}, {"\x8E\x45", 0x005DA6}, {"\x8E\x46", 0x005DA7}, 
{"\x8E\x47", 0x005DA8}, {"\x8E\x48", 0x005DA9}, {"\x8E\x49", 0x005DAA}, {"\x8E\x4A", 0x005DAB}, 
{"\x8E\x4B", 0x005DAC}, {"\x8E\x4C", 0x005DAD}, {"\x8E\x4D", 0x005DAE}, {"\x8E\x4E", 0x005DAF}, 
{"\x8E\x4F", 0x005DB0}, {"\x8E\x50", 0x005DB1}, {"\x8E\x51", 0x005DB2}, {"\x8E\x52", 0x005DB3}, 
{"\x8E\x53", 0x005DB4}, {"\x8E\x54", 0x005DB5}, {"\x8E\x55", 0x005DB6}, {"\x8E\x56", 0x005DB8}, 
{"\x8E\x57", 0x005DB9}, {"\x8E\x58", 0x005DBA}, {"\x8E\x59", 0x005DBB}, {"\x8E\x5A", 0x005DBC}, 
{"\x8E\x5B", 0x005DBD}, {"\x8E\x5C", 0x005DBE}, {"\x8E\x5D", 0x005DBF}, {"\x8E\x5E", 0x005DC0}, 
{"\x8E\x5F", 0x005DC1}, {"\x8E\x60", 0x005DC2}, {"\x8E\x61", 0x005DC3}, {"\x8E\x62", 0x005DC4}, 
{"\x8E\x63", 0x005DC6}, {"\x8E\x64", 0x005DC7}, {"\x8E\x65", 0x005DC8}, {"\x8E\x66", 0x005DC9}, 
{"\x8E\x67", 0x005DCA}, {"\x8E\x68", 0x005DCB}, {"\x8E\x69", 0x005DCC}, {"\x8E\x6A", 0x005DCE}, 
{"\x8E\x6B", 0x005DCF}, {"\x8E\x6C", 0x005DD0}, {"\x8E\x6D", 0x005DD1}, {"\x8E\x6E", 0x005DD2}, 
{"\x8E\x6F", 0x005DD3}, {"\x8E\x70", 0x005DD4}, {"\x8E\x71", 0x005DD5}, {"\x8E\x72", 0x005DD6}, 
{"\x8E\x73", 0x005DD7}, {"\x8E\x74", 0x005DD8}, {"\x8E\x75", 0x005DD9}, {"\x8E\x76", 0x005DDA}, 
{"\x8E\x77", 0x005DDC}, {"\x8E\x78", 0x005DDF}, {"\x8E\x79", 0x005DE0}, {"\x8E\x7A", 0x005DE3}, 
{"\x8E\x7B", 0x005DE4}, {"\x8E\x7C", 0x005DEA}, {"\x8E\x7D", 0x005DEC}, {"\x8E\x7E", 0x005DED}, 
{"\x8E\x80", 0x005DF0}, {"\x8E\x81", 0x005DF5}, {"\x8E\x82", 0x005DF6}, {"\x8E\x83", 0x005DF8}, 
{"\x8E\x84", 0x005DF9}, {"\x8E\x85", 0x005DFA}, {"\x8E\x86", 0x005DFB}, {"\x8E\x87", 0x005DFC}, 
{"\x8E\x88", 0x005DFF}, {"\x8E\x89", 0x005E00}, {"\x8E\x8A", 0x005E04}, {"\x8E\x8B", 0x005E07}, 
{"\x8E\x8C", 0x005E09}, {"\x8E\x8D", 0x005E0A}, {"\x8E\x8E", 0x005E0B}, {"\x8E\x8F", 0x005E0D}, 
{"\x8E\x90", 0x005E0E}, {"\x8E\x91", 0x005E12}, {"\x8E\x92", 0x005E13}, {"\x8E\x93", 0x005E17}, 
{"\x8E\x94", 0x005E1E}, {"\x8E\x95", 0x005E1F}, {"\x8E\x96", 0x005E20}, {"\x8E\x97", 0x005E21}, 
{"\x8E\x98", 0x005E22}, {"\x8E\x99", 0x005E23}, {"\x8E\x9A", 0x005E24}, {"\x8E\x9B", 0x005E25}, 
{"\x8E\x9C", 0x005E28}, {"\x8E\x9D", 0x005E29}, {"\x8E\x9E", 0x005E2A}, {"\x8E\x9F", 0x005E2B}, 
{"\x8E\xA0", 0x005E2C}, {"\x8E\xA1", 0x005E2F}, {"\x8E\xA2", 0x005E30}, {"\x8E\xA3", 0x005E32}, 
{"\x8E\xA4", 0x005E33}, {"\x8E\xA5", 0x005E34}, {"\x8E\xA6", 0x005E35}, {"\x8E\xA7", 0x005E36}, 
{"\x8E\xA8", 0x005E39}, {"\x8E\xA9", 0x005E3A}, {"\x8E\xAA", 0x005E3E}, {"\x8E\xAB", 0x005E3F}, 
{"\x8E\xAC", 0x005E40}, {"\x8E\xAD", 0x005E41}, {"\x8E\xAE", 0x005E43}, {"\x8E\xAF", 0x005E46}, 
{"\x8E\xB0", 0x005E47}, {"\x8E\xB1", 0x005E48}, {"\x8E\xB2", 0x005E49}, {"\x8E\xB3", 0x005E4A}, 
{"\x8E\xB4", 0x005E4B}, {"\x8E\xB5", 0x005E4D}, {"\x8E\xB6", 0x005E4E}, {"\x8E\xB7", 0x005E4F}, 
{"\x8E\xB8", 0x005E50}, {"\x8E\xB9", 0x005E51}, {"\x8E\xBA", 0x005E52}, {"\x8E\xBB", 0x005E53}, 
{"\x8E\xBC", 0x005E56}, {"\x8E\xBD", 0x005E57}, {"\x8E\xBE", 0x005E58}, {"\x8E\xBF", 0x005E59}, 
{"\x8E\xC0", 0x005E5A}, {"\x8E\xC1", 0x005E5C}, {"\x8E\xC2", 0x005E5D}, {"\x8E\xC3", 0x005E5F}, 
{"\x8E\xC4", 0x005E60}, {"\x8E\xC5", 0x005E63}, {"\x8E\xC6", 0x005E64}, {"\x8E\xC7", 0x005E65}, 
{"\x8E\xC8", 0x005E66}, {"\x8E\xC9", 0x005E67}, {"\x8E\xCA", 0x005E68}, {"\x8E\xCB", 0x005E69}, 
{"\x8E\xCC", 0x005E6A}, {"\x8E\xCD", 0x005E6B}, {"\x8E\xCE", 0x005E6C}, {"\x8E\xCF", 0x005E6D}, 
{"\x8E\xD0", 0x005E6E}, {"\x8E\xD1", 0x005E6F}, {"\x8E\xD2", 0x005E70}, {"\x8E\xD3", 0x005E71}, 
{"\x8E\xD4", 0x005E75}, {"\x8E\xD5", 0x005E77}, {"\x8E\xD6", 0x005E79}, {"\x8E\xD7", 0x005E7E}, 
{"\x8E\xD8", 0x005E81}, {"\x8E\xD9", 0x005E82}, {"\x8E\xDA", 0x005E83}, {"\x8E\xDB", 0x005E85}, 
{"\x8E\xDC", 0x005E88}, {"\x8E\xDD", 0x005E89}, {"\x8E\xDE", 0x005E8C}, {"\x8E\xDF", 0x005E8D}, 
{"\x8E\xE0", 0x005E8E}, {"\x8E\xE1", 0x005E92}, {"\x8E\xE2", 0x005E98}, {"\x8E\xE3", 0x005E9B}, 
{"\x8E\xE4", 0x005E9D}, {"\x8E\xE5", 0x005EA1}, {"\x8E\xE6", 0x005EA2}, {"\x8E\xE7", 0x005EA3}, 
{"\x8E\xE8", 0x005EA4}, {"\x8E\xE9", 0x005EA8}, {"\x8E\xEA", 0x005EA9}, {"\x8E\xEB", 0x005EAA}, 
{"\x8E\xEC", 0x005EAB}, {"\x8E\xED", 0x005EAC}, {"\x8E\xEE", 0x005EAE}, {"\x8E\xEF", 0x005EAF}, 
{"\x8E\xF0", 0x005EB0}, {"\x8E\xF1", 0x005EB1}, {"\x8E\xF2", 0x005EB2}, {"\x8E\xF3", 0x005EB4}, 
{"\x8E\xF4", 0x005EBA}, {"\x8E\xF5", 0x005EBB}, {"\x8E\xF6", 0x005EBC}, {"\x8E\xF7", 0x005EBD}, 
{"\x8E\xF8", 0x005EBF}, {"\x8E\xF9", 0x005EC0}, {"\x8E\xFA", 0x005EC1}, {"\x8E\xFB", 0x005EC2}, 
{"\x8E\xFC", 0x005EC3}, {"\x8E\xFD", 0x005EC4}, {"\x8E\xFE", 0x005EC5}, {"\x8F\x40", 0x005EC6}, 
{"\x8F\x41", 0x005EC7}, {"\x8F\x42", 0x005EC8}, {"\x8F\x43", 0x005ECB}, {"\x8F\x44", 0x005ECC}, 
{"\x8F\x45", 0x005ECD}, {"\x8F\x46", 0x005ECE}, {"\x8F\x47", 0x005ECF}, {"\x8F\x48", 0x005ED0}, 
{"\x8F\x49", 0x005ED4}, {"\x8F\x4A", 0x005ED5}, {"\x8F\x4B", 0x005ED7}, {"\x8F\x4C", 0x005ED8}, 
{"\x8F\x4D", 0x005ED9}, {"\x8F\x4E", 0x005EDA}, {"\x8F\x4F", 0x005EDC}, {"\x8F\x50", 0x005EDD}, 
{"\x8F\x51", 0x005EDE}, {"\x8F\x52", 0x005EDF}, {"\x8F\x53", 0x005EE0}, {"\x8F\x54", 0x005EE1}, 
{"\x8F\x55", 0x005EE2}, {"\x8F\x56", 0x005EE3}, {"\x8F\x57", 0x005EE4}, {"\x8F\x58", 0x005EE5}, 
{"\x8F\x59", 0x005EE6}, {"\x8F\x5A", 0x005EE7}, {"\x8F\x5B", 0x005EE9}, {"\x8F\x5C", 0x005EEB}, 

};
 for(size_t i=1; i<sizeof(db2bmp_0a_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_0a_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_0b_gb18030_init()
{
static MB2UData db2bmp_0b_gb18030 [] = { {"", 0}, 
{"\x8F\x5D", 0x005EEC}, {"\x8F\x5E", 0x005EED}, {"\x8F\x5F", 0x005EEE}, {"\x8F\x60", 0x005EEF}, 
{"\x8F\x61", 0x005EF0}, {"\x8F\x62", 0x005EF1}, {"\x8F\x63", 0x005EF2}, {"\x8F\x64", 0x005EF3}, 
{"\x8F\x65", 0x005EF5}, {"\x8F\x66", 0x005EF8}, {"\x8F\x67", 0x005EF9}, {"\x8F\x68", 0x005EFB}, 
{"\x8F\x69", 0x005EFC}, {"\x8F\x6A", 0x005EFD}, {"\x8F\x6B", 0x005F05}, {"\x8F\x6C", 0x005F06}, 
{"\x8F\x6D", 0x005F07}, {"\x8F\x6E", 0x005F09}, {"\x8F\x6F", 0x005F0C}, {"\x8F\x70", 0x005F0D}, 
{"\x8F\x71", 0x005F0E}, {"\x8F\x72", 0x005F10}, {"\x8F\x73", 0x005F12}, {"\x8F\x74", 0x005F14}, 
{"\x8F\x75", 0x005F16}, {"\x8F\x76", 0x005F19}, {"\x8F\x77", 0x005F1A}, {"\x8F\x78", 0x005F1C}, 
{"\x8F\x79", 0x005F1D}, {"\x8F\x7A", 0x005F1E}, {"\x8F\x7B", 0x005F21}, {"\x8F\x7C", 0x005F22}, 
{"\x8F\x7D", 0x005F23}, {"\x8F\x7E", 0x005F24}, {"\x8F\x80", 0x005F28}, {"\x8F\x81", 0x005F2B}, 
{"\x8F\x82", 0x005F2C}, {"\x8F\x83", 0x005F2E}, {"\x8F\x84", 0x005F30}, {"\x8F\x85", 0x005F32}, 
{"\x8F\x86", 0x005F33}, {"\x8F\x87", 0x005F34}, {"\x8F\x88", 0x005F35}, {"\x8F\x89", 0x005F36}, 
{"\x8F\x8A", 0x005F37}, {"\x8F\x8B", 0x005F38}, {"\x8F\x8C", 0x005F3B}, {"\x8F\x8D", 0x005F3D}, 
{"\x8F\x8E", 0x005F3E}, {"\x8F\x8F", 0x005F3F}, {"\x8F\x90", 0x005F41}, {"\x8F\x91", 0x005F42}, 
{"\x8F\x92", 0x005F43}, {"\x8F\x93", 0x005F44}, {"\x8F\x94", 0x005F45}, {"\x8F\x95", 0x005F46}, 
{"\x8F\x96", 0x005F47}, {"\x8F\x97", 0x005F48}, {"\x8F\x98", 0x005F49}, {"\x8F\x99", 0x005F4A}, 
{"\x8F\x9A", 0x005F4B}, {"\x8F\x9B", 0x005F4C}, {"\x8F\x9C", 0x005F4D}, {"\x8F\x9D", 0x005F4E}, 
{"\x8F\x9E", 0x005F4F}, {"\x8F\x9F", 0x005F51}, {"\x8F\xA0", 0x005F54}, {"\x8F\xA1", 0x005F59}, 
{"\x8F\xA2", 0x005F5A}, {"\x8F\xA3", 0x005F5B}, {"\x8F\xA4", 0x005F5C}, {"\x8F\xA5", 0x005F5E}, 
{"\x8F\xA6", 0x005F5F}, {"\x8F\xA7", 0x005F60}, {"\x8F\xA8", 0x005F63}, {"\x8F\xA9", 0x005F65}, 
{"\x8F\xAA", 0x005F67}, {"\x8F\xAB", 0x005F68}, {"\x8F\xAC", 0x005F6B}, {"\x8F\xAD", 0x005F6E}, 
{"\x8F\xAE", 0x005F6F}, {"\x8F\xAF", 0x005F72}, {"\x8F\xB0", 0x005F74}, {"\x8F\xB1", 0x005F75}, 
{"\x8F\xB2", 0x005F76}, {"\x8F\xB3", 0x005F78}, {"\x8F\xB4", 0x005F7A}, {"\x8F\xB5", 0x005F7D}, 
{"\x8F\xB6", 0x005F7E}, {"\x8F\xB7", 0x005F7F}, {"\x8F\xB8", 0x005F83}, {"\x8F\xB9", 0x005F86}, 
{"\x8F\xBA", 0x005F8D}, {"\x8F\xBB", 0x005F8E}, {"\x8F\xBC", 0x005F8F}, {"\x8F\xBD", 0x005F91}, 
{"\x8F\xBE", 0x005F93}, {"\x8F\xBF", 0x005F94}, {"\x8F\xC0", 0x005F96}, {"\x8F\xC1", 0x005F9A}, 
{"\x8F\xC2", 0x005F9B}, {"\x8F\xC3", 0x005F9D}, {"\x8F\xC4", 0x005F9E}, {"\x8F\xC5", 0x005F9F}, 
{"\x8F\xC6", 0x005FA0}, {"\x8F\xC7", 0x005FA2}, {"\x8F\xC8", 0x005FA3}, {"\x8F\xC9", 0x005FA4}, 
{"\x8F\xCA", 0x005FA5}, {"\x8F\xCB", 0x005FA6}, {"\x8F\xCC", 0x005FA7}, {"\x8F\xCD", 0x005FA9}, 
{"\x8F\xCE", 0x005FAB}, {"\x8F\xCF", 0x005FAC}, {"\x8F\xD0", 0x005FAF}, {"\x8F\xD1", 0x005FB0}, 
{"\x8F\xD2", 0x005FB1}, {"\x8F\xD3", 0x005FB2}, {"\x8F\xD4", 0x005FB3}, {"\x8F\xD5", 0x005FB4}, 
{"\x8F\xD6", 0x005FB6}, {"\x8F\xD7", 0x005FB8}, {"\x8F\xD8", 0x005FB9}, {"\x8F\xD9", 0x005FBA}, 
{"\x8F\xDA", 0x005FBB}, {"\x8F\xDB", 0x005FBE}, {"\x8F\xDC", 0x005FBF}, {"\x8F\xDD", 0x005FC0}, 
{"\x8F\xDE", 0x005FC1}, {"\x8F\xDF", 0x005FC2}, {"\x8F\xE0", 0x005FC7}, {"\x8F\xE1", 0x005FC8}, 
{"\x8F\xE2", 0x005FCA}, {"\x8F\xE3", 0x005FCB}, {"\x8F\xE4", 0x005FCE}, {"\x8F\xE5", 0x005FD3}, 
{"\x8F\xE6", 0x005FD4}, {"\x8F\xE7", 0x005FD5}, {"\x8F\xE8", 0x005FDA}, {"\x8F\xE9", 0x005FDB}, 
{"\x8F\xEA", 0x005FDC}, {"\x8F\xEB", 0x005FDE}, {"\x8F\xEC", 0x005FDF}, {"\x8F\xED", 0x005FE2}, 
{"\x8F\xEE", 0x005FE3}, {"\x8F\xEF", 0x005FE5}, {"\x8F\xF0", 0x005FE6}, {"\x8F\xF1", 0x005FE8}, 
{"\x8F\xF2", 0x005FE9}, {"\x8F\xF3", 0x005FEC}, {"\x8F\xF4", 0x005FEF}, {"\x8F\xF5", 0x005FF0}, 
{"\x8F\xF6", 0x005FF2}, {"\x8F\xF7", 0x005FF3}, {"\x8F\xF8", 0x005FF4}, {"\x8F\xF9", 0x005FF6}, 
{"\x8F\xFA", 0x005FF7}, {"\x8F\xFB", 0x005FF9}, {"\x8F\xFC", 0x005FFA}, {"\x8F\xFD", 0x005FFC}, 
{"\x8F\xFE", 0x006007}, {"\x90\x40", 0x006008}, {"\x90\x41", 0x006009}, {"\x90\x42", 0x00600B}, 
{"\x90\x43", 0x00600C}, {"\x90\x44", 0x006010}, {"\x90\x45", 0x006011}, {"\x90\x46", 0x006013}, 
{"\x90\x47", 0x006017}, {"\x90\x48", 0x006018}, {"\x90\x49", 0x00601A}, {"\x90\x4A", 0x00601E}, 
{"\x90\x4B", 0x00601F}, {"\x90\x4C", 0x006022}, {"\x90\x4D", 0x006023}, {"\x90\x4E", 0x006024}, 
{"\x90\x4F", 0x00602C}, {"\x90\x50", 0x00602D}, {"\x90\x51", 0x00602E}, {"\x90\x52", 0x006030}, 
{"\x90\x53", 0x006031}, {"\x90\x54", 0x006032}, {"\x90\x55", 0x006033}, {"\x90\x56", 0x006034}, 
{"\x90\x57", 0x006036}, {"\x90\x58", 0x006037}, {"\x90\x59", 0x006038}, {"\x90\x5A", 0x006039}, 
{"\x90\x5B", 0x00603A}, {"\x90\x5C", 0x00603D}, {"\x90\x5D", 0x00603E}, {"\x90\x5E", 0x006040}, 
{"\x90\x5F", 0x006044}, {"\x90\x60", 0x006045}, {"\x90\x61", 0x006046}, {"\x90\x62", 0x006047}, 
{"\x90\x63", 0x006048}, {"\x90\x64", 0x006049}, {"\x90\x65", 0x00604A}, {"\x90\x66", 0x00604C}, 
{"\x90\x67", 0x00604E}, {"\x90\x68", 0x00604F}, {"\x90\x69", 0x006051}, {"\x90\x6A", 0x006053}, 
{"\x90\x6B", 0x006054}, {"\x90\x6C", 0x006056}, {"\x90\x6D", 0x006057}, {"\x90\x6E", 0x006058}, 
{"\x90\x6F", 0x00605B}, {"\x90\x70", 0x00605C}, {"\x90\x71", 0x00605E}, {"\x90\x72", 0x00605F}, 
{"\x90\x73", 0x006060}, {"\x90\x74", 0x006061}, {"\x90\x75", 0x006065}, {"\x90\x76", 0x006066}, 
{"\x90\x77", 0x00606E}, {"\x90\x78", 0x006071}, {"\x90\x79", 0x006072}, {"\x90\x7A", 0x006074}, 
{"\x90\x7B", 0x006075}, {"\x90\x7C", 0x006077}, {"\x90\x7D", 0x00607E}, {"\x90\x7E", 0x006080}, 
{"\x90\x80", 0x006081}, {"\x90\x81", 0x006082}, {"\x90\x82", 0x006085}, {"\x90\x83", 0x006086}, 
{"\x90\x84", 0x006087}, {"\x90\x85", 0x006088}, {"\x90\x86", 0x00608A}, {"\x90\x87", 0x00608B}, 
{"\x90\x88", 0x00608E}, {"\x90\x89", 0x00608F}, {"\x90\x8A", 0x006090}, {"\x90\x8B", 0x006091}, 
{"\x90\x8C", 0x006093}, {"\x90\x8D", 0x006095}, {"\x90\x8E", 0x006097}, {"\x90\x8F", 0x006098}, 
{"\x90\x90", 0x006099}, {"\x90\x91", 0x00609C}, {"\x90\x92", 0x00609E}, {"\x90\x93", 0x0060A1}, 
{"\x90\x94", 0x0060A2}, {"\x90\x95", 0x0060A4}, {"\x90\x96", 0x0060A5}, {"\x90\x97", 0x0060A7}, 
{"\x90\x98", 0x0060A9}, {"\x90\x99", 0x0060AA}, {"\x90\x9A", 0x0060AE}, {"\x90\x9B", 0x0060B0}, 
{"\x90\x9C", 0x0060B3}, {"\x90\x9D", 0x0060B5}, {"\x90\x9E", 0x0060B6}, {"\x90\x9F", 0x0060B7}, 

};
 for(size_t i=1; i<sizeof(db2bmp_0b_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_0b_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_0c_gb18030_init()
{
static MB2UData db2bmp_0c_gb18030 [] = { {"", 0}, 
{"\x90\xA0", 0x0060B9}, {"\x90\xA1", 0x0060BA}, {"\x90\xA2", 0x0060BD}, {"\x90\xA3", 0x0060BE}, 
{"\x90\xA4", 0x0060BF}, {"\x90\xA5", 0x0060C0}, {"\x90\xA6", 0x0060C1}, {"\x90\xA7", 0x0060C2}, 
{"\x90\xA8", 0x0060C3}, {"\x90\xA9", 0x0060C4}, {"\x90\xAA", 0x0060C7}, {"\x90\xAB", 0x0060C8}, 
{"\x90\xAC", 0x0060C9}, {"\x90\xAD", 0x0060CC}, {"\x90\xAE", 0x0060CD}, {"\x90\xAF", 0x0060CE}, 
{"\x90\xB0", 0x0060CF}, {"\x90\xB1", 0x0060D0}, {"\x90\xB2", 0x0060D2}, {"\x90\xB3", 0x0060D3}, 
{"\x90\xB4", 0x0060D4}, {"\x90\xB5", 0x0060D6}, {"\x90\xB6", 0x0060D7}, {"\x90\xB7", 0x0060D9}, 
{"\x90\xB8", 0x0060DB}, {"\x90\xB9", 0x0060DE}, {"\x90\xBA", 0x0060E1}, {"\x90\xBB", 0x0060E2}, 
{"\x90\xBC", 0x0060E3}, {"\x90\xBD", 0x0060E4}, {"\x90\xBE", 0x0060E5}, {"\x90\xBF", 0x0060EA}, 
{"\x90\xC0", 0x0060F1}, {"\x90\xC1", 0x0060F2}, {"\x90\xC2", 0x0060F5}, {"\x90\xC3", 0x0060F7}, 
{"\x90\xC4", 0x0060F8}, {"\x90\xC5", 0x0060FB}, {"\x90\xC6", 0x0060FC}, {"\x90\xC7", 0x0060FD}, 
{"\x90\xC8", 0x0060FE}, {"\x90\xC9", 0x0060FF}, {"\x90\xCA", 0x006102}, {"\x90\xCB", 0x006103}, 
{"\x90\xCC", 0x006104}, {"\x90\xCD", 0x006105}, {"\x90\xCE", 0x006107}, {"\x90\xCF", 0x00610A}, 
{"\x90\xD0", 0x00610B}, {"\x90\xD1", 0x00610C}, {"\x90\xD2", 0x006110}, {"\x90\xD3", 0x006111}, 
{"\x90\xD4", 0x006112}, {"\x90\xD5", 0x006113}, {"\x90\xD6", 0x006114}, {"\x90\xD7", 0x006116}, 
{"\x90\xD8", 0x006117}, {"\x90\xD9", 0x006118}, {"\x90\xDA", 0x006119}, {"\x90\xDB", 0x00611B}, 
{"\x90\xDC", 0x00611C}, {"\x90\xDD", 0x00611D}, {"\x90\xDE", 0x00611E}, {"\x90\xDF", 0x006121}, 
{"\x90\xE0", 0x006122}, {"\x90\xE1", 0x006125}, {"\x90\xE2", 0x006128}, {"\x90\xE3", 0x006129}, 
{"\x90\xE4", 0x00612A}, {"\x90\xE5", 0x00612C}, {"\x90\xE6", 0x00612D}, {"\x90\xE7", 0x00612E}, 
{"\x90\xE8", 0x00612F}, {"\x90\xE9", 0x006130}, {"\x90\xEA", 0x006131}, {"\x90\xEB", 0x006132}, 
{"\x90\xEC", 0x006133}, {"\x90\xED", 0x006134}, {"\x90\xEE", 0x006135}, {"\x90\xEF", 0x006136}, 
{"\x90\xF0", 0x006137}, {"\x90\xF1", 0x006138}, {"\x90\xF2", 0x006139}, {"\x90\xF3", 0x00613A}, 
{"\x90\xF4", 0x00613B}, {"\x90\xF5", 0x00613C}, {"\x90\xF6", 0x00613D}, {"\x90\xF7", 0x00613E}, 
{"\x90\xF8", 0x006140}, {"\x90\xF9", 0x006141}, {"\x90\xFA", 0x006142}, {"\x90\xFB", 0x006143}, 
{"\x90\xFC", 0x006144}, {"\x90\xFD", 0x006145}, {"\x90\xFE", 0x006146}, {"\x91\x40", 0x006147}, 
{"\x91\x41", 0x006149}, {"\x91\x42", 0x00614B}, {"\x91\x43", 0x00614D}, {"\x91\x44", 0x00614F}, 
{"\x91\x45", 0x006150}, {"\x91\x46", 0x006152}, {"\x91\x47", 0x006153}, {"\x91\x48", 0x006154}, 
{"\x91\x49", 0x006156}, {"\x91\x4A", 0x006157}, {"\x91\x4B", 0x006158}, {"\x91\x4C", 0x006159}, 
{"\x91\x4D", 0x00615A}, {"\x91\x4E", 0x00615B}, {"\x91\x4F", 0x00615C}, {"\x91\x50", 0x00615E}, 
{"\x91\x51", 0x00615F}, {"\x91\x52", 0x006160}, {"\x91\x53", 0x006161}, {"\x91\x54", 0x006163}, 
{"\x91\x55", 0x006164}, {"\x91\x56", 0x006165}, {"\x91\x57", 0x006166}, {"\x91\x58", 0x006169}, 
{"\x91\x59", 0x00616A}, {"\x91\x5A", 0x00616B}, {"\x91\x5B", 0x00616C}, {"\x91\x5C", 0x00616D}, 
{"\x91\x5D", 0x00616E}, {"\x91\x5E", 0x00616F}, {"\x91\x5F", 0x006171}, {"\x91\x60", 0x006172}, 
{"\x91\x61", 0x006173}, {"\x91\x62", 0x006174}, {"\x91\x63", 0x006176}, {"\x91\x64", 0x006178}, 
{"\x91\x65", 0x006179}, {"\x91\x66", 0x00617A}, {"\x91\x67", 0x00617B}, {"\x91\x68", 0x00617C}, 
{"\x91\x69", 0x00617D}, {"\x91\x6A", 0x00617E}, {"\x91\x6B", 0x00617F}, {"\x91\x6C", 0x006180}, 
{"\x91\x6D", 0x006181}, {"\x91\x6E", 0x006182}, {"\x91\x6F", 0x006183}, {"\x91\x70", 0x006184}, 
{"\x91\x71", 0x006185}, {"\x91\x72", 0x006186}, {"\x91\x73", 0x006187}, {"\x91\x74", 0x006188}, 
{"\x91\x75", 0x006189}, {"\x91\x76", 0x00618A}, {"\x91\x77", 0x00618C}, {"\x91\x78", 0x00618D}, 
{"\x91\x79", 0x00618F}, {"\x91\x7A", 0x006190}, {"\x91\x7B", 0x006191}, {"\x91\x7C", 0x006192}, 
{"\x91\x7D", 0x006193}, {"\x91\x7E", 0x006195}, {"\x91\x80", 0x006196}, {"\x91\x81", 0x006197}, 
{"\x91\x82", 0x006198}, {"\x91\x83", 0x006199}, {"\x91\x84", 0x00619A}, {"\x91\x85", 0x00619B}, 
{"\x91\x86", 0x00619C}, {"\x91\x87", 0x00619E}, {"\x91\x88", 0x00619F}, {"\x91\x89", 0x0061A0}, 
{"\x91\x8A", 0x0061A1}, {"\x91\x8B", 0x0061A2}, {"\x91\x8C", 0x0061A3}, {"\x91\x8D", 0x0061A4}, 
{"\x91\x8E", 0x0061A5}, {"\x91\x8F", 0x0061A6}, {"\x91\x90", 0x0061AA}, {"\x91\x91", 0x0061AB}, 
{"\x91\x92", 0x0061AD}, {"\x91\x93", 0x0061AE}, {"\x91\x94", 0x0061AF}, {"\x91\x95", 0x0061B0}, 
{"\x91\x96", 0x0061B1}, {"\x91\x97", 0x0061B2}, {"\x91\x98", 0x0061B3}, {"\x91\x99", 0x0061B4}, 
{"\x91\x9A", 0x0061B5}, {"\x91\x9B", 0x0061B6}, {"\x91\x9C", 0x0061B8}, {"\x91\x9D", 0x0061B9}, 
{"\x91\x9E", 0x0061BA}, {"\x91\x9F", 0x0061BB}, {"\x91\xA0", 0x0061BC}, {"\x91\xA1", 0x0061BD}, 
{"\x91\xA2", 0x0061BF}, {"\x91\xA3", 0x0061C0}, {"\x91\xA4", 0x0061C1}, {"\x91\xA5", 0x0061C3}, 
{"\x91\xA6", 0x0061C4}, {"\x91\xA7", 0x0061C5}, {"\x91\xA8", 0x0061C6}, {"\x91\xA9", 0x0061C7}, 
{"\x91\xAA", 0x0061C9}, {"\x91\xAB", 0x0061CC}, {"\x91\xAC", 0x0061CD}, {"\x91\xAD", 0x0061CE}, 
{"\x91\xAE", 0x0061CF}, {"\x91\xAF", 0x0061D0}, {"\x91\xB0", 0x0061D3}, {"\x91\xB1", 0x0061D5}, 
{"\x91\xB2", 0x0061D6}, {"\x91\xB3", 0x0061D7}, {"\x91\xB4", 0x0061D8}, {"\x91\xB5", 0x0061D9}, 
{"\x91\xB6", 0x0061DA}, {"\x91\xB7", 0x0061DB}, {"\x91\xB8", 0x0061DC}, {"\x91\xB9", 0x0061DD}, 
{"\x91\xBA", 0x0061DE}, {"\x91\xBB", 0x0061DF}, {"\x91\xBC", 0x0061E0}, {"\x91\xBD", 0x0061E1}, 
{"\x91\xBE", 0x0061E2}, {"\x91\xBF", 0x0061E3}, {"\x91\xC0", 0x0061E4}, {"\x91\xC1", 0x0061E5}, 
{"\x91\xC2", 0x0061E7}, {"\x91\xC3", 0x0061E8}, {"\x91\xC4", 0x0061E9}, {"\x91\xC5", 0x0061EA}, 
{"\x91\xC6", 0x0061EB}, {"\x91\xC7", 0x0061EC}, {"\x91\xC8", 0x0061ED}, {"\x91\xC9", 0x0061EE}, 
{"\x91\xCA", 0x0061EF}, {"\x91\xCB", 0x0061F0}, {"\x91\xCC", 0x0061F1}, {"\x91\xCD", 0x0061F2}, 
{"\x91\xCE", 0x0061F3}, {"\x91\xCF", 0x0061F4}, {"\x91\xD0", 0x0061F6}, {"\x91\xD1", 0x0061F7}, 
{"\x91\xD2", 0x0061F8}, {"\x91\xD3", 0x0061F9}, {"\x91\xD4", 0x0061FA}, {"\x91\xD5", 0x0061FB}, 
{"\x91\xD6", 0x0061FC}, {"\x91\xD7", 0x0061FD}, {"\x91\xD8", 0x0061FE}, {"\x91\xD9", 0x006200}, 
{"\x91\xDA", 0x006201}, {"\x91\xDB", 0x006202}, {"\x91\xDC", 0x006203}, {"\x91\xDD", 0x006204}, 
{"\x91\xDE", 0x006205}, {"\x91\xDF", 0x006207}, {"\x91\xE0", 0x006209}, {"\x91\xE1", 0x006213}, 

};
 for(size_t i=1; i<sizeof(db2bmp_0c_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_0c_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_0d_gb18030_init()
{
static MB2UData db2bmp_0d_gb18030 [] = { {"", 0}, 
{"\x91\xE2", 0x006214}, {"\x91\xE3", 0x006219}, {"\x91\xE4", 0x00621C}, {"\x91\xE5", 0x00621D}, 
{"\x91\xE6", 0x00621E}, {"\x91\xE7", 0x006220}, {"\x91\xE8", 0x006223}, {"\x91\xE9", 0x006226}, 
{"\x91\xEA", 0x006227}, {"\x91\xEB", 0x006228}, {"\x91\xEC", 0x006229}, {"\x91\xED", 0x00622B}, 
{"\x91\xEE", 0x00622D}, {"\x91\xEF", 0x00622F}, {"\x91\xF0", 0x006230}, {"\x91\xF1", 0x006231}, 
{"\x91\xF2", 0x006232}, {"\x91\xF3", 0x006235}, {"\x91\xF4", 0x006236}, {"\x91\xF5", 0x006238}, 
{"\x91\xF6", 0x006239}, {"\x91\xF7", 0x00623A}, {"\x91\xF8", 0x00623B}, {"\x91\xF9", 0x00623C}, 
{"\x91\xFA", 0x006242}, {"\x91\xFB", 0x006244}, {"\x91\xFC", 0x006245}, {"\x91\xFD", 0x006246}, 
{"\x91\xFE", 0x00624A}, {"\x92\x40", 0x00624F}, {"\x92\x41", 0x006250}, {"\x92\x42", 0x006255}, 
{"\x92\x43", 0x006256}, {"\x92\x44", 0x006257}, {"\x92\x45", 0x006259}, {"\x92\x46", 0x00625A}, 
{"\x92\x47", 0x00625C}, {"\x92\x48", 0x00625D}, {"\x92\x49", 0x00625E}, {"\x92\x4A", 0x00625F}, 
{"\x92\x4B", 0x006260}, {"\x92\x4C", 0x006261}, {"\x92\x4D", 0x006262}, {"\x92\x4E", 0x006264}, 
{"\x92\x4F", 0x006265}, {"\x92\x50", 0x006268}, {"\x92\x51", 0x006271}, {"\x92\x52", 0x006272}, 
{"\x92\x53", 0x006274}, {"\x92\x54", 0x006275}, {"\x92\x55", 0x006277}, {"\x92\x56", 0x006278}, 
{"\x92\x57", 0x00627A}, {"\x92\x58", 0x00627B}, {"\x92\x59", 0x00627D}, {"\x92\x5A", 0x006281}, 
{"\x92\x5B", 0x006282}, {"\x92\x5C", 0x006283}, {"\x92\x5D", 0x006285}, {"\x92\x5E", 0x006286}, 
{"\x92\x5F", 0x006287}, {"\x92\x60", 0x006288}, {"\x92\x61", 0x00628B}, {"\x92\x62", 0x00628C}, 
{"\x92\x63", 0x00628D}, {"\x92\x64", 0x00628E}, {"\x92\x65", 0x00628F}, {"\x92\x66", 0x006290}, 
{"\x92\x67", 0x006294}, {"\x92\x68", 0x006299}, {"\x92\x69", 0x00629C}, {"\x92\x6A", 0x00629D}, 
{"\x92\x6B", 0x00629E}, {"\x92\x6C", 0x0062A3}, {"\x92\x6D", 0x0062A6}, {"\x92\x6E", 0x0062A7}, 
{"\x92\x6F", 0x0062A9}, {"\x92\x70", 0x0062AA}, {"\x92\x71", 0x0062AD}, {"\x92\x72", 0x0062AE}, 
{"\x92\x73", 0x0062AF}, {"\x92\x74", 0x0062B0}, {"\x92\x75", 0x0062B2}, {"\x92\x76", 0x0062B3}, 
{"\x92\x77", 0x0062B4}, {"\x92\x78", 0x0062B6}, {"\x92\x79", 0x0062B7}, {"\x92\x7A", 0x0062B8}, 
{"\x92\x7B", 0x0062BA}, {"\x92\x7C", 0x0062BE}, {"\x92\x7D", 0x0062C0}, {"\x92\x7E", 0x0062C1}, 
{"\x92\x80", 0x0062C3}, {"\x92\x81", 0x0062CB}, {"\x92\x82", 0x0062CF}, {"\x92\x83", 0x0062D1}, 
{"\x92\x84", 0x0062D5}, {"\x92\x85", 0x0062DD}, {"\x92\x86", 0x0062DE}, {"\x92\x87", 0x0062E0}, 
{"\x92\x88", 0x0062E1}, {"\x92\x89", 0x0062E4}, {"\x92\x8A", 0x0062EA}, {"\x92\x8B", 0x0062EB}, 
{"\x92\x8C", 0x0062F0}, {"\x92\x8D", 0x0062F2}, {"\x92\x8E", 0x0062F5}, {"\x92\x8F", 0x0062F8}, 
{"\x92\x90", 0x0062F9}, {"\x92\x91", 0x0062FA}, {"\x92\x92", 0x0062FB}, {"\x92\x93", 0x006300}, 
{"\x92\x94", 0x006303}, {"\x92\x95", 0x006304}, {"\x92\x96", 0x006305}, {"\x92\x97", 0x006306}, 
{"\x92\x98", 0x00630A}, {"\x92\x99", 0x00630B}, {"\x92\x9A", 0x00630C}, {"\x92\x9B", 0x00630D}, 
{"\x92\x9C", 0x00630F}, {"\x92\x9D", 0x006310}, {"\x92\x9E", 0x006312}, {"\x92\x9F", 0x006313}, 
{"\x92\xA0", 0x006314}, {"\x92\xA1", 0x006315}, {"\x92\xA2", 0x006317}, {"\x92\xA3", 0x006318}, 
{"\x92\xA4", 0x006319}, {"\x92\xA5", 0x00631C}, {"\x92\xA6", 0x006326}, {"\x92\xA7", 0x006327}, 
{"\x92\xA8", 0x006329}, {"\x92\xA9", 0x00632C}, {"\x92\xAA", 0x00632D}, {"\x92\xAB", 0x00632E}, 
{"\x92\xAC", 0x006330}, {"\x92\xAD", 0x006331}, {"\x92\xAE", 0x006333}, {"\x92\xAF", 0x006334}, 
{"\x92\xB0", 0x006335}, {"\x92\xB1", 0x006336}, {"\x92\xB2", 0x006337}, {"\x92\xB3", 0x006338}, 
{"\x92\xB4", 0x00633B}, {"\x92\xB5", 0x00633C}, {"\x92\xB6", 0x00633E}, {"\x92\xB7", 0x00633F}, 
{"\x92\xB8", 0x006340}, {"\x92\xB9", 0x006341}, {"\x92\xBA", 0x006344}, {"\x92\xBB", 0x006347}, 
{"\x92\xBC", 0x006348}, {"\x92\xBD", 0x00634A}, {"\x92\xBE", 0x006351}, {"\x92\xBF", 0x006352}, 
{"\x92\xC0", 0x006353}, {"\x92\xC1", 0x006354}, {"\x92\xC2", 0x006356}, {"\x92\xC3", 0x006357}, 
{"\x92\xC4", 0x006358}, {"\x92\xC5", 0x006359}, {"\x92\xC6", 0x00635A}, {"\x92\xC7", 0x00635B}, 
{"\x92\xC8", 0x00635C}, {"\x92\xC9", 0x00635D}, {"\x92\xCA", 0x006360}, {"\x92\xCB", 0x006364}, 
{"\x92\xCC", 0x006365}, {"\x92\xCD", 0x006366}, {"\x92\xCE", 0x006368}, {"\x92\xCF", 0x00636A}, 
{"\x92\xD0", 0x00636B}, {"\x92\xD1", 0x00636C}, {"\x92\xD2", 0x00636F}, {"\x92\xD3", 0x006370}, 
{"\x92\xD4", 0x006372}, {"\x92\xD5", 0x006373}, {"\x92\xD6", 0x006374}, {"\x92\xD7", 0x006375}, 
{"\x92\xD8", 0x006378}, {"\x92\xD9", 0x006379}, {"\x92\xDA", 0x00637C}, {"\x92\xDB", 0x00637D}, 
{"\x92\xDC", 0x00637E}, {"\x92\xDD", 0x00637F}, {"\x92\xDE", 0x006381}, {"\x92\xDF", 0x006383}, 
{"\x92\xE0", 0x006384}, {"\x92\xE1", 0x006385}, {"\x92\xE2", 0x006386}, {"\x92\xE3", 0x00638B}, 
{"\x92\xE4", 0x00638D}, {"\x92\xE5", 0x006391}, {"\x92\xE6", 0x006393}, {"\x92\xE7", 0x006394}, 
{"\x92\xE8", 0x006395}, {"\x92\xE9", 0x006397}, {"\x92\xEA", 0x006399}, {"\x92\xEB", 0x00639A}, 
{"\x92\xEC", 0x00639B}, {"\x92\xED", 0x00639C}, {"\x92\xEE", 0x00639D}, {"\x92\xEF", 0x00639E}, 
{"\x92\xF0", 0x00639F}, {"\x92\xF1", 0x0063A1}, {"\x92\xF2", 0x0063A4}, {"\x92\xF3", 0x0063A6}, 
{"\x92\xF4", 0x0063AB}, {"\x92\xF5", 0x0063AF}, {"\x92\xF6", 0x0063B1}, {"\x92\xF7", 0x0063B2}, 
{"\x92\xF8", 0x0063B5}, {"\x92\xF9", 0x0063B6}, {"\x92\xFA", 0x0063B9}, {"\x92\xFB", 0x0063BB}, 
{"\x92\xFC", 0x0063BD}, {"\x92\xFD", 0x0063BF}, {"\x92\xFE", 0x0063C0}, {"\x93\x40", 0x0063C1}, 
{"\x93\x41", 0x0063C2}, {"\x93\x42", 0x0063C3}, {"\x93\x43", 0x0063C5}, {"\x93\x44", 0x0063C7}, 
{"\x93\x45", 0x0063C8}, {"\x93\x46", 0x0063CA}, {"\x93\x47", 0x0063CB}, {"\x93\x48", 0x0063CC}, 
{"\x93\x49", 0x0063D1}, {"\x93\x4A", 0x0063D3}, {"\x93\x4B", 0x0063D4}, {"\x93\x4C", 0x0063D5}, 
{"\x93\x4D", 0x0063D7}, {"\x93\x4E", 0x0063D8}, {"\x93\x4F", 0x0063D9}, {"\x93\x50", 0x0063DA}, 
{"\x93\x51", 0x0063DB}, {"\x93\x52", 0x0063DC}, {"\x93\x53", 0x0063DD}, {"\x93\x54", 0x0063DF}, 
{"\x93\x55", 0x0063E2}, {"\x93\x56", 0x0063E4}, {"\x93\x57", 0x0063E5}, {"\x93\x58", 0x0063E6}, 
{"\x93\x59", 0x0063E7}, {"\x93\x5A", 0x0063E8}, {"\x93\x5B", 0x0063EB}, {"\x93\x5C", 0x0063EC}, 
{"\x93\x5D", 0x0063EE}, {"\x93\x5E", 0x0063EF}, {"\x93\x5F", 0x0063F0}, {"\x93\x60", 0x0063F1}, 
{"\x93\x61", 0x0063F3}, {"\x93\x62", 0x0063F5}, {"\x93\x63", 0x0063F7}, {"\x93\x64", 0x0063F9}, 

};
 for(size_t i=1; i<sizeof(db2bmp_0d_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_0d_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_0e_gb18030_init()
{
static MB2UData db2bmp_0e_gb18030 [] = { {"", 0}, 
{"\x93\x65", 0x0063FA}, {"\x93\x66", 0x0063FB}, {"\x93\x67", 0x0063FC}, {"\x93\x68", 0x0063FE}, 
{"\x93\x69", 0x006403}, {"\x93\x6A", 0x006404}, {"\x93\x6B", 0x006406}, {"\x93\x6C", 0x006407}, 
{"\x93\x6D", 0x006408}, {"\x93\x6E", 0x006409}, {"\x93\x6F", 0x00640A}, {"\x93\x70", 0x00640D}, 
{"\x93\x71", 0x00640E}, {"\x93\x72", 0x006411}, {"\x93\x73", 0x006412}, {"\x93\x74", 0x006415}, 
{"\x93\x75", 0x006416}, {"\x93\x76", 0x006417}, {"\x93\x77", 0x006418}, {"\x93\x78", 0x006419}, 
{"\x93\x79", 0x00641A}, {"\x93\x7A", 0x00641D}, {"\x93\x7B", 0x00641F}, {"\x93\x7C", 0x006422}, 
{"\x93\x7D", 0x006423}, {"\x93\x7E", 0x006424}, {"\x93\x80", 0x006425}, {"\x93\x81", 0x006427}, 
{"\x93\x82", 0x006428}, {"\x93\x83", 0x006429}, {"\x93\x84", 0x00642B}, {"\x93\x85", 0x00642E}, 
{"\x93\x86", 0x00642F}, {"\x93\x87", 0x006430}, {"\x93\x88", 0x006431}, {"\x93\x89", 0x006432}, 
{"\x93\x8A", 0x006433}, {"\x93\x8B", 0x006435}, {"\x93\x8C", 0x006436}, {"\x93\x8D", 0x006437}, 
{"\x93\x8E", 0x006438}, {"\x93\x8F", 0x006439}, {"\x93\x90", 0x00643B}, {"\x93\x91", 0x00643C}, 
{"\x93\x92", 0x00643E}, {"\x93\x93", 0x006440}, {"\x93\x94", 0x006442}, {"\x93\x95", 0x006443}, 
{"\x93\x96", 0x006449}, {"\x93\x97", 0x00644B}, {"\x93\x98", 0x00644C}, {"\x93\x99", 0x00644D}, 
{"\x93\x9A", 0x00644E}, {"\x93\x9B", 0x00644F}, {"\x93\x9C", 0x006450}, {"\x93\x9D", 0x006451}, 
{"\x93\x9E", 0x006453}, {"\x93\x9F", 0x006455}, {"\x93\xA0", 0x006456}, {"\x93\xA1", 0x006457}, 
{"\x93\xA2", 0x006459}, {"\x93\xA3", 0x00645A}, {"\x93\xA4", 0x00645B}, {"\x93\xA5", 0x00645C}, 
{"\x93\xA6", 0x00645D}, {"\x93\xA7", 0x00645F}, {"\x93\xA8", 0x006460}, {"\x93\xA9", 0x006461}, 
{"\x93\xAA", 0x006462}, {"\x93\xAB", 0x006463}, {"\x93\xAC", 0x006464}, {"\x93\xAD", 0x006465}, 
{"\x93\xAE", 0x006466}, {"\x93\xAF", 0x006468}, {"\x93\xB0", 0x00646A}, {"\x93\xB1", 0x00646B}, 
{"\x93\xB2", 0x00646C}, {"\x93\xB3", 0x00646E}, {"\x93\xB4", 0x00646F}, {"\x93\xB5", 0x006470}, 
{"\x93\xB6", 0x006471}, {"\x93\xB7", 0x006472}, {"\x93\xB8", 0x006473}, {"\x93\xB9", 0x006474}, 
{"\x93\xBA", 0x006475}, {"\x93\xBB", 0x006476}, {"\x93\xBC", 0x006477}, {"\x93\xBD", 0x00647B}, 
{"\x93\xBE", 0x00647C}, {"\x93\xBF", 0x00647D}, {"\x93\xC0", 0x00647E}, {"\x93\xC1", 0x00647F}, 
{"\x93\xC2", 0x006480}, {"\x93\xC3", 0x006481}, {"\x93\xC4", 0x006483}, {"\x93\xC5", 0x006486}, 
{"\x93\xC6", 0x006488}, {"\x93\xC7", 0x006489}, {"\x93\xC8", 0x00648A}, {"\x93\xC9", 0x00648B}, 
{"\x93\xCA", 0x00648C}, {"\x93\xCB", 0x00648D}, {"\x93\xCC", 0x00648E}, {"\x93\xCD", 0x00648F}, 
{"\x93\xCE", 0x006490}, {"\x93\xCF", 0x006493}, {"\x93\xD0", 0x006494}, {"\x93\xD1", 0x006497}, 
{"\x93\xD2", 0x006498}, {"\x93\xD3", 0x00649A}, {"\x93\xD4", 0x00649B}, {"\x93\xD5", 0x00649C}, 
{"\x93\xD6", 0x00649D}, {"\x93\xD7", 0x00649F}, {"\x93\xD8", 0x0064A0}, {"\x93\xD9", 0x0064A1}, 
{"\x93\xDA", 0x0064A2}, {"\x93\xDB", 0x0064A3}, {"\x93\xDC", 0x0064A5}, {"\x93\xDD", 0x0064A6}, 
{"\x93\xDE", 0x0064A7}, {"\x93\xDF", 0x0064A8}, {"\x93\xE0", 0x0064AA}, {"\x93\xE1", 0x0064AB}, 
{"\x93\xE2", 0x0064AF}, {"\x93\xE3", 0x0064B1}, {"\x93\xE4", 0x0064B2}, {"\x93\xE5", 0x0064B3}, 
{"\x93\xE6", 0x0064B4}, {"\x93\xE7", 0x0064B6}, {"\x93\xE8", 0x0064B9}, {"\x93\xE9", 0x0064BB}, 
{"\x93\xEA", 0x0064BD}, {"\x93\xEB", 0x0064BE}, {"\x93\xEC", 0x0064BF}, {"\x93\xED", 0x0064C1}, 
{"\x93\xEE", 0x0064C3}, {"\x93\xEF", 0x0064C4}, {"\x93\xF0", 0x0064C6}, {"\x93\xF1", 0x0064C7}, 
{"\x93\xF2", 0x0064C8}, {"\x93\xF3", 0x0064C9}, {"\x93\xF4", 0x0064CA}, {"\x93\xF5", 0x0064CB}, 
{"\x93\xF6", 0x0064CC}, {"\x93\xF7", 0x0064CF}, {"\x93\xF8", 0x0064D1}, {"\x93\xF9", 0x0064D3}, 
{"\x93\xFA", 0x0064D4}, {"\x93\xFB", 0x0064D5}, {"\x93\xFC", 0x0064D6}, {"\x93\xFD", 0x0064D9}, 
{"\x93\xFE", 0x0064DA}, {"\x94\x40", 0x0064DB}, {"\x94\x41", 0x0064DC}, {"\x94\x42", 0x0064DD}, 
{"\x94\x43", 0x0064DF}, {"\x94\x44", 0x0064E0}, {"\x94\x45", 0x0064E1}, {"\x94\x46", 0x0064E3}, 
{"\x94\x47", 0x0064E5}, {"\x94\x48", 0x0064E7}, {"\x94\x49", 0x0064E8}, {"\x94\x4A", 0x0064E9}, 
{"\x94\x4B", 0x0064EA}, {"\x94\x4C", 0x0064EB}, {"\x94\x4D", 0x0064EC}, {"\x94\x4E", 0x0064ED}, 
{"\x94\x4F", 0x0064EE}, {"\x94\x50", 0x0064EF}, {"\x94\x51", 0x0064F0}, {"\x94\x52", 0x0064F1}, 
{"\x94\x53", 0x0064F2}, {"\x94\x54", 0x0064F3}, {"\x94\x55", 0x0064F4}, {"\x94\x56", 0x0064F5}, 
{"\x94\x57", 0x0064F6}, {"\x94\x58", 0x0064F7}, {"\x94\x59", 0x0064F8}, {"\x94\x5A", 0x0064F9}, 
{"\x94\x5B", 0x0064FA}, {"\x94\x5C", 0x0064FB}, {"\x94\x5D", 0x0064FC}, {"\x94\x5E", 0x0064FD}, 
{"\x94\x5F", 0x0064FE}, {"\x94\x60", 0x0064FF}, {"\x94\x61", 0x006501}, {"\x94\x62", 0x006502}, 
{"\x94\x63", 0x006503}, {"\x94\x64", 0x006504}, {"\x94\x65", 0x006505}, {"\x94\x66", 0x006506}, 
{"\x94\x67", 0x006507}, {"\x94\x68", 0x006508}, {"\x94\x69", 0x00650A}, {"\x94\x6A", 0x00650B}, 
{"\x94\x6B", 0x00650C}, {"\x94\x6C", 0x00650D}, {"\x94\x6D", 0x00650E}, {"\x94\x6E", 0x00650F}, 
{"\x94\x6F", 0x006510}, {"\x94\x70", 0x006511}, {"\x94\x71", 0x006513}, {"\x94\x72", 0x006514}, 
{"\x94\x73", 0x006515}, {"\x94\x74", 0x006516}, {"\x94\x75", 0x006517}, {"\x94\x76", 0x006519}, 
{"\x94\x77", 0x00651A}, {"\x94\x78", 0x00651B}, {"\x94\x79", 0x00651C}, {"\x94\x7A", 0x00651D}, 
{"\x94\x7B", 0x00651E}, {"\x94\x7C", 0x00651F}, {"\x94\x7D", 0x006520}, {"\x94\x7E", 0x006521}, 
{"\x94\x80", 0x006522}, {"\x94\x81", 0x006523}, {"\x94\x82", 0x006524}, {"\x94\x83", 0x006526}, 
{"\x94\x84", 0x006527}, {"\x94\x85", 0x006528}, {"\x94\x86", 0x006529}, {"\x94\x87", 0x00652A}, 
{"\x94\x88", 0x00652C}, {"\x94\x89", 0x00652D}, {"\x94\x8A", 0x006530}, {"\x94\x8B", 0x006531}, 
{"\x94\x8C", 0x006532}, {"\x94\x8D", 0x006533}, {"\x94\x8E", 0x006537}, {"\x94\x8F", 0x00653A}, 
{"\x94\x90", 0x00653C}, {"\x94\x91", 0x00653D}, {"\x94\x92", 0x006540}, {"\x94\x93", 0x006541}, 
{"\x94\x94", 0x006542}, {"\x94\x95", 0x006543}, {"\x94\x96", 0x006544}, {"\x94\x97", 0x006546}, 
{"\x94\x98", 0x006547}, {"\x94\x99", 0x00654A}, {"\x94\x9A", 0x00654B}, {"\x94\x9B", 0x00654D}, 
{"\x94\x9C", 0x00654E}, {"\x94\x9D", 0x006550}, {"\x94\x9E", 0x006552}, {"\x94\x9F", 0x006553}, 
{"\x94\xA0", 0x006554}, {"\x94\xA1", 0x006557}, {"\x94\xA2", 0x006558}, {"\x94\xA3", 0x00655A}, 
{"\x94\xA4", 0x00655C}, {"\x94\xA5", 0x00655F}, {"\x94\xA6", 0x006560}, {"\x94\xA7", 0x006561}, 

};
 for(size_t i=1; i<sizeof(db2bmp_0e_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_0e_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_0f_gb18030_init()
{
static MB2UData db2bmp_0f_gb18030 [] = { {"", 0}, 
{"\x94\xA8", 0x006564}, {"\x94\xA9", 0x006565}, {"\x94\xAA", 0x006567}, {"\x94\xAB", 0x006568}, 
{"\x94\xAC", 0x006569}, {"\x94\xAD", 0x00656A}, {"\x94\xAE", 0x00656D}, {"\x94\xAF", 0x00656E}, 
{"\x94\xB0", 0x00656F}, {"\x94\xB1", 0x006571}, {"\x94\xB2", 0x006573}, {"\x94\xB3", 0x006575}, 
{"\x94\xB4", 0x006576}, {"\x94\xB5", 0x006578}, {"\x94\xB6", 0x006579}, {"\x94\xB7", 0x00657A}, 
{"\x94\xB8", 0x00657B}, {"\x94\xB9", 0x00657C}, {"\x94\xBA", 0x00657D}, {"\x94\xBB", 0x00657E}, 
{"\x94\xBC", 0x00657F}, {"\x94\xBD", 0x006580}, {"\x94\xBE", 0x006581}, {"\x94\xBF", 0x006582}, 
{"\x94\xC0", 0x006583}, {"\x94\xC1", 0x006584}, {"\x94\xC2", 0x006585}, {"\x94\xC3", 0x006586}, 
{"\x94\xC4", 0x006588}, {"\x94\xC5", 0x006589}, {"\x94\xC6", 0x00658A}, {"\x94\xC7", 0x00658D}, 
{"\x94\xC8", 0x00658E}, {"\x94\xC9", 0x00658F}, {"\x94\xCA", 0x006592}, {"\x94\xCB", 0x006594}, 
{"\x94\xCC", 0x006595}, {"\x94\xCD", 0x006596}, {"\x94\xCE", 0x006598}, {"\x94\xCF", 0x00659A}, 
{"\x94\xD0", 0x00659D}, {"\x94\xD1", 0x00659E}, {"\x94\xD2", 0x0065A0}, {"\x94\xD3", 0x0065A2}, 
{"\x94\xD4", 0x0065A3}, {"\x94\xD5", 0x0065A6}, {"\x94\xD6", 0x0065A8}, {"\x94\xD7", 0x0065AA}, 
{"\x94\xD8", 0x0065AC}, {"\x94\xD9", 0x0065AE}, {"\x94\xDA", 0x0065B1}, {"\x94\xDB", 0x0065B2}, 
{"\x94\xDC", 0x0065B3}, {"\x94\xDD", 0x0065B4}, {"\x94\xDE", 0x0065B5}, {"\x94\xDF", 0x0065B6}, 
{"\x94\xE0", 0x0065B7}, {"\x94\xE1", 0x0065B8}, {"\x94\xE2", 0x0065BA}, {"\x94\xE3", 0x0065BB}, 
{"\x94\xE4", 0x0065BE}, {"\x94\xE5", 0x0065BF}, {"\x94\xE6", 0x0065C0}, {"\x94\xE7", 0x0065C2}, 
{"\x94\xE8", 0x0065C7}, {"\x94\xE9", 0x0065C8}, {"\x94\xEA", 0x0065C9}, {"\x94\xEB", 0x0065CA}, 
{"\x94\xEC", 0x0065CD}, {"\x94\xED", 0x0065D0}, {"\x94\xEE", 0x0065D1}, {"\x94\xEF", 0x0065D3}, 
{"\x94\xF0", 0x0065D4}, {"\x94\xF1", 0x0065D5}, {"\x94\xF2", 0x0065D8}, {"\x94\xF3", 0x0065D9}, 
{"\x94\xF4", 0x0065DA}, {"\x94\xF5", 0x0065DB}, {"\x94\xF6", 0x0065DC}, {"\x94\xF7", 0x0065DD}, 
{"\x94\xF8", 0x0065DE}, {"\x94\xF9", 0x0065DF}, {"\x94\xFA", 0x0065E1}, {"\x94\xFB", 0x0065E3}, 
{"\x94\xFC", 0x0065E4}, {"\x94\xFD", 0x0065EA}, {"\x94\xFE", 0x0065EB}, {"\x95\x40", 0x0065F2}, 
{"\x95\x41", 0x0065F3}, {"\x95\x42", 0x0065F4}, {"\x95\x43", 0x0065F5}, {"\x95\x44", 0x0065F8}, 
{"\x95\x45", 0x0065F9}, {"\x95\x46", 0x0065FB}, {"\x95\x47", 0x0065FC}, {"\x95\x48", 0x0065FD}, 
{"\x95\x49", 0x0065FE}, {"\x95\x4A", 0x0065FF}, {"\x95\x4B", 0x006601}, {"\x95\x4C", 0x006604}, 
{"\x95\x4D", 0x006605}, {"\x95\x4E", 0x006607}, {"\x95\x4F", 0x006608}, {"\x95\x50", 0x006609}, 
{"\x95\x51", 0x00660B}, {"\x95\x52", 0x00660D}, {"\x95\x53", 0x006610}, {"\x95\x54", 0x006611}, 
{"\x95\x55", 0x006612}, {"\x95\x56", 0x006616}, {"\x95\x57", 0x006617}, {"\x95\x58", 0x006618}, 
{"\x95\x59", 0x00661A}, {"\x95\x5A", 0x00661B}, {"\x95\x5B", 0x00661C}, {"\x95\x5C", 0x00661E}, 
{"\x95\x5D", 0x006621}, {"\x95\x5E", 0x006622}, {"\x95\x5F", 0x006623}, {"\x95\x60", 0x006624}, 
{"\x95\x61", 0x006626}, {"\x95\x62", 0x006629}, {"\x95\x63", 0x00662A}, {"\x95\x64", 0x00662B}, 
{"\x95\x65", 0x00662C}, {"\x95\x66", 0x00662E}, {"\x95\x67", 0x006630}, {"\x95\x68", 0x006632}, 
{"\x95\x69", 0x006633}, {"\x95\x6A", 0x006637}, {"\x95\x6B", 0x006638}, {"\x95\x6C", 0x006639}, 
{"\x95\x6D", 0x00663A}, {"\x95\x6E", 0x00663B}, {"\x95\x6F", 0x00663D}, {"\x95\x70", 0x00663F}, 
{"\x95\x71", 0x006640}, {"\x95\x72", 0x006642}, {"\x95\x73", 0x006644}, {"\x95\x74", 0x006645}, 
{"\x95\x75", 0x006646}, {"\x95\x76", 0x006647}, {"\x95\x77", 0x006648}, {"\x95\x78", 0x006649}, 
{"\x95\x79", 0x00664A}, {"\x95\x7A", 0x00664D}, {"\x95\x7B", 0x00664E}, {"\x95\x7C", 0x006650}, 
{"\x95\x7D", 0x006651}, {"\x95\x7E", 0x006658}, {"\x95\x80", 0x006659}, {"\x95\x81", 0x00665B}, 
{"\x95\x82", 0x00665C}, {"\x95\x83", 0x00665D}, {"\x95\x84", 0x00665E}, {"\x95\x85", 0x006660}, 
{"\x95\x86", 0x006662}, {"\x95\x87", 0x006663}, {"\x95\x88", 0x006665}, {"\x95\x89", 0x006667}, 
{"\x95\x8A", 0x006669}, {"\x95\x8B", 0x00666A}, {"\x95\x8C", 0x00666B}, {"\x95\x8D", 0x00666C}, 
{"\x95\x8E", 0x00666D}, {"\x95\x8F", 0x006671}, {"\x95\x90", 0x006672}, {"\x95\x91", 0x006673}, 
{"\x95\x92", 0x006675}, {"\x95\x93", 0x006678}, {"\x95\x94", 0x006679}, {"\x95\x95", 0x00667B}, 
{"\x95\x96", 0x00667C}, {"\x95\x97", 0x00667D}, {"\x95\x98", 0x00667F}, {"\x95\x99", 0x006680}, 
{"\x95\x9A", 0x006681}, {"\x95\x9B", 0x006683}, {"\x95\x9C", 0x006685}, {"\x95\x9D", 0x006686}, 
{"\x95\x9E", 0x006688}, {"\x95\x9F", 0x006689}, {"\x95\xA0", 0x00668A}, {"\x95\xA1", 0x00668B}, 
{"\x95\xA2", 0x00668D}, {"\x95\xA3", 0x00668E}, {"\x95\xA4", 0x00668F}, {"\x95\xA5", 0x006690}, 
{"\x95\xA6", 0x006692}, {"\x95\xA7", 0x006693}, {"\x95\xA8", 0x006694}, {"\x95\xA9", 0x006695}, 
{"\x95\xAA", 0x006698}, {"\x95\xAB", 0x006699}, {"\x95\xAC", 0x00669A}, {"\x95\xAD", 0x00669B}, 
{"\x95\xAE", 0x00669C}, {"\x95\xAF", 0x00669E}, {"\x95\xB0", 0x00669F}, {"\x95\xB1", 0x0066A0}, 
{"\x95\xB2", 0x0066A1}, {"\x95\xB3", 0x0066A2}, {"\x95\xB4", 0x0066A3}, {"\x95\xB5", 0x0066A4}, 
{"\x95\xB6", 0x0066A5}, {"\x95\xB7", 0x0066A6}, {"\x95\xB8", 0x0066A9}, {"\x95\xB9", 0x0066AA}, 
{"\x95\xBA", 0x0066AB}, {"\x95\xBB", 0x0066AC}, {"\x95\xBC", 0x0066AD}, {"\x95\xBD", 0x0066AF}, 
{"\x95\xBE", 0x0066B0}, {"\x95\xBF", 0x0066B1}, {"\x95\xC0", 0x0066B2}, {"\x95\xC1", 0x0066B3}, 
{"\x95\xC2", 0x0066B5}, {"\x95\xC3", 0x0066B6}, {"\x95\xC4", 0x0066B7}, {"\x95\xC5", 0x0066B8}, 
{"\x95\xC6", 0x0066BA}, {"\x95\xC7", 0x0066BB}, {"\x95\xC8", 0x0066BC}, {"\x95\xC9", 0x0066BD}, 
{"\x95\xCA", 0x0066BF}, {"\x95\xCB", 0x0066C0}, {"\x95\xCC", 0x0066C1}, {"\x95\xCD", 0x0066C2}, 
{"\x95\xCE", 0x0066C3}, {"\x95\xCF", 0x0066C4}, {"\x95\xD0", 0x0066C5}, {"\x95\xD1", 0x0066C6}, 
{"\x95\xD2", 0x0066C7}, {"\x95\xD3", 0x0066C8}, {"\x95\xD4", 0x0066C9}, {"\x95\xD5", 0x0066CA}, 
{"\x95\xD6", 0x0066CB}, {"\x95\xD7", 0x0066CC}, {"\x95\xD8", 0x0066CD}, {"\x95\xD9", 0x0066CE}, 
{"\x95\xDA", 0x0066CF}, {"\x95\xDB", 0x0066D0}, {"\x95\xDC", 0x0066D1}, {"\x95\xDD", 0x0066D2}, 
{"\x95\xDE", 0x0066D3}, {"\x95\xDF", 0x0066D4}, {"\x95\xE0", 0x0066D5}, {"\x95\xE1", 0x0066D6}, 
{"\x95\xE2", 0x0066D7}, {"\x95\xE3", 0x0066D8}, {"\x95\xE4", 0x0066DA}, {"\x95\xE5", 0x0066DE}, 
{"\x95\xE6", 0x0066DF}, {"\x95\xE7", 0x0066E0}, {"\x95\xE8", 0x0066E1}, {"\x95\xE9", 0x0066E2}, 

};
 for(size_t i=1; i<sizeof(db2bmp_0f_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_0f_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_10_gb18030_init()
{
static MB2UData db2bmp_10_gb18030 [] = { {"", 0}, 
{"\x95\xEA", 0x0066E3}, {"\x95\xEB", 0x0066E4}, {"\x95\xEC", 0x0066E5}, {"\x95\xED", 0x0066E7}, 
{"\x95\xEE", 0x0066E8}, {"\x95\xEF", 0x0066EA}, {"\x95\xF0", 0x0066EB}, {"\x95\xF1", 0x0066EC}, 
{"\x95\xF2", 0x0066ED}, {"\x95\xF3", 0x0066EE}, {"\x95\xF4", 0x0066EF}, {"\x95\xF5", 0x0066F1}, 
{"\x95\xF6", 0x0066F5}, {"\x95\xF7", 0x0066F6}, {"\x95\xF8", 0x0066F8}, {"\x95\xF9", 0x0066FA}, 
{"\x95\xFA", 0x0066FB}, {"\x95\xFB", 0x0066FD}, {"\x95\xFC", 0x006701}, {"\x95\xFD", 0x006702}, 
{"\x95\xFE", 0x006703}, {"\x96\x40", 0x006704}, {"\x96\x41", 0x006705}, {"\x96\x42", 0x006706}, 
{"\x96\x43", 0x006707}, {"\x96\x44", 0x00670C}, {"\x96\x45", 0x00670E}, {"\x96\x46", 0x00670F}, 
{"\x96\x47", 0x006711}, {"\x96\x48", 0x006712}, {"\x96\x49", 0x006713}, {"\x96\x4A", 0x006716}, 
{"\x96\x4B", 0x006718}, {"\x96\x4C", 0x006719}, {"\x96\x4D", 0x00671A}, {"\x96\x4E", 0x00671C}, 
{"\x96\x4F", 0x00671E}, {"\x96\x50", 0x006720}, {"\x96\x51", 0x006721}, {"\x96\x52", 0x006722}, 
{"\x96\x53", 0x006723}, {"\x96\x54", 0x006724}, {"\x96\x55", 0x006725}, {"\x96\x56", 0x006727}, 
{"\x96\x57", 0x006729}, {"\x96\x58", 0x00672E}, {"\x96\x59", 0x006730}, {"\x96\x5A", 0x006732}, 
{"\x96\x5B", 0x006733}, {"\x96\x5C", 0x006736}, {"\x96\x5D", 0x006737}, {"\x96\x5E", 0x006738}, 
{"\x96\x5F", 0x006739}, {"\x96\x60", 0x00673B}, {"\x96\x61", 0x00673C}, {"\x96\x62", 0x00673E}, 
{"\x96\x63", 0x00673F}, {"\x96\x64", 0x006741}, {"\x96\x65", 0x006744}, {"\x96\x66", 0x006745}, 
{"\x96\x67", 0x006747}, {"\x96\x68", 0x00674A}, {"\x96\x69", 0x00674B}, {"\x96\x6A", 0x00674D}, 
{"\x96\x6B", 0x006752}, {"\x96\x6C", 0x006754}, {"\x96\x6D", 0x006755}, {"\x96\x6E", 0x006757}, 
{"\x96\x6F", 0x006758}, {"\x96\x70", 0x006759}, {"\x96\x71", 0x00675A}, {"\x96\x72", 0x00675B}, 
{"\x96\x73", 0x00675D}, {"\x96\x74", 0x006762}, {"\x96\x75", 0x006763}, {"\x96\x76", 0x006764}, 
{"\x96\x77", 0x006766}, {"\x96\x78", 0x006767}, {"\x96\x79", 0x00676B}, {"\x96\x7A", 0x00676C}, 
{"\x96\x7B", 0x00676E}, {"\x96\x7C", 0x006771}, {"\x96\x7D", 0x006774}, {"\x96\x7E", 0x006776}, 
{"\x96\x80", 0x006778}, {"\x96\x81", 0x006779}, {"\x96\x82", 0x00677A}, {"\x96\x83", 0x00677B}, 
{"\x96\x84", 0x00677D}, {"\x96\x85", 0x006780}, {"\x96\x86", 0x006782}, {"\x96\x87", 0x006783}, 
{"\x96\x88", 0x006785}, {"\x96\x89", 0x006786}, {"\x96\x8A", 0x006788}, {"\x96\x8B", 0x00678A}, 
{"\x96\x8C", 0x00678C}, {"\x96\x8D", 0x00678D}, {"\x96\x8E", 0x00678E}, {"\x96\x8F", 0x00678F}, 
{"\x96\x90", 0x006791}, {"\x96\x91", 0x006792}, {"\x96\x92", 0x006793}, {"\x96\x93", 0x006794}, 
{"\x96\x94", 0x006796}, {"\x96\x95", 0x006799}, {"\x96\x96", 0x00679B}, {"\x96\x97", 0x00679F}, 
{"\x96\x98", 0x0067A0}, {"\x96\x99", 0x0067A1}, {"\x96\x9A", 0x0067A4}, {"\x96\x9B", 0x0067A6}, 
{"\x96\x9C", 0x0067A9}, {"\x96\x9D", 0x0067AC}, {"\x96\x9E", 0x0067AE}, {"\x96\x9F", 0x0067B1}, 
{"\x96\xA0", 0x0067B2}, {"\x96\xA1", 0x0067B4}, {"\x96\xA2", 0x0067B9}, {"\x96\xA3", 0x0067BA}, 
{"\x96\xA4", 0x0067BB}, {"\x96\xA5", 0x0067BC}, {"\x96\xA6", 0x0067BD}, {"\x96\xA7", 0x0067BE}, 
{"\x96\xA8", 0x0067BF}, {"\x96\xA9", 0x0067C0}, {"\x96\xAA", 0x0067C2}, {"\x96\xAB", 0x0067C5}, 
{"\x96\xAC", 0x0067C6}, {"\x96\xAD", 0x0067C7}, {"\x96\xAE", 0x0067C8}, {"\x96\xAF", 0x0067C9}, 
{"\x96\xB0", 0x0067CA}, {"\x96\xB1", 0x0067CB}, {"\x96\xB2", 0x0067CC}, {"\x96\xB3", 0x0067CD}, 
{"\x96\xB4", 0x0067CE}, {"\x96\xB5", 0x0067D5}, {"\x96\xB6", 0x0067D6}, {"\x96\xB7", 0x0067D7}, 
{"\x96\xB8", 0x0067DB}, {"\x96\xB9", 0x0067DF}, {"\x96\xBA", 0x0067E1}, {"\x96\xBB", 0x0067E3}, 
{"\x96\xBC", 0x0067E4}, {"\x96\xBD", 0x0067E6}, {"\x96\xBE", 0x0067E7}, {"\x96\xBF", 0x0067E8}, 
{"\x96\xC0", 0x0067EA}, {"\x96\xC1", 0x0067EB}, {"\x96\xC2", 0x0067ED}, {"\x96\xC3", 0x0067EE}, 
{"\x96\xC4", 0x0067F2}, {"\x96\xC5", 0x0067F5}, {"\x96\xC6", 0x0067F6}, {"\x96\xC7", 0x0067F7}, 
{"\x96\xC8", 0x0067F8}, {"\x96\xC9", 0x0067F9}, {"\x96\xCA", 0x0067FA}, {"\x96\xCB", 0x0067FB}, 
{"\x96\xCC", 0x0067FC}, {"\x96\xCD", 0x0067FE}, {"\x96\xCE", 0x006801}, {"\x96\xCF", 0x006802}, 
{"\x96\xD0", 0x006803}, {"\x96\xD1", 0x006804}, {"\x96\xD2", 0x006806}, {"\x96\xD3", 0x00680D}, 
{"\x96\xD4", 0x006810}, {"\x96\xD5", 0x006812}, {"\x96\xD6", 0x006814}, {"\x96\xD7", 0x006815}, 
{"\x96\xD8", 0x006818}, {"\x96\xD9", 0x006819}, {"\x96\xDA", 0x00681A}, {"\x96\xDB", 0x00681B}, 
{"\x96\xDC", 0x00681C}, {"\x96\xDD", 0x00681E}, {"\x96\xDE", 0x00681F}, {"\x96\xDF", 0x006820}, 
{"\x96\xE0", 0x006822}, {"\x96\xE1", 0x006823}, {"\x96\xE2", 0x006824}, {"\x96\xE3", 0x006825}, 
{"\x96\xE4", 0x006826}, {"\x96\xE5", 0x006827}, {"\x96\xE6", 0x006828}, {"\x96\xE7", 0x00682B}, 
{"\x96\xE8", 0x00682C}, {"\x96\xE9", 0x00682D}, {"\x96\xEA", 0x00682E}, {"\x96\xEB", 0x00682F}, 
{"\x96\xEC", 0x006830}, {"\x96\xED", 0x006831}, {"\x96\xEE", 0x006834}, {"\x96\xEF", 0x006835}, 
{"\x96\xF0", 0x006836}, {"\x96\xF1", 0x00683A}, {"\x96\xF2", 0x00683B}, {"\x96\xF3", 0x00683F}, 
{"\x96\xF4", 0x006847}, {"\x96\xF5", 0x00684B}, {"\x96\xF6", 0x00684D}, {"\x96\xF7", 0x00684F}, 
{"\x96\xF8", 0x006852}, {"\x96\xF9", 0x006856}, {"\x96\xFA", 0x006857}, {"\x96\xFB", 0x006858}, 
{"\x96\xFC", 0x006859}, {"\x96\xFD", 0x00685A}, {"\x96\xFE", 0x00685B}, {"\x97\x40", 0x00685C}, 
{"\x97\x41", 0x00685D}, {"\x97\x42", 0x00685E}, {"\x97\x43", 0x00685F}, {"\x97\x44", 0x00686A}, 
{"\x97\x45", 0x00686C}, {"\x97\x46", 0x00686D}, {"\x97\x47", 0x00686E}, {"\x97\x48", 0x00686F}, 
{"\x97\x49", 0x006870}, {"\x97\x4A", 0x006871}, {"\x97\x4B", 0x006872}, {"\x97\x4C", 0x006873}, 
{"\x97\x4D", 0x006875}, {"\x97\x4E", 0x006878}, {"\x97\x4F", 0x006879}, {"\x97\x50", 0x00687A}, 
{"\x97\x51", 0x00687B}, {"\x97\x52", 0x00687C}, {"\x97\x53", 0x00687D}, {"\x97\x54", 0x00687E}, 
{"\x97\x55", 0x00687F}, {"\x97\x56", 0x006880}, {"\x97\x57", 0x006882}, {"\x97\x58", 0x006884}, 
{"\x97\x59", 0x006887}, {"\x97\x5A", 0x006888}, {"\x97\x5B", 0x006889}, {"\x97\x5C", 0x00688A}, 
{"\x97\x5D", 0x00688B}, {"\x97\x5E", 0x00688C}, {"\x97\x5F", 0x00688D}, {"\x97\x60", 0x00688E}, 
{"\x97\x61", 0x006890}, {"\x97\x62", 0x006891}, {"\x97\x63", 0x006892}, {"\x97\x64", 0x006894}, 
{"\x97\x65", 0x006895}, {"\x97\x66", 0x006896}, {"\x97\x67", 0x006898}, {"\x97\x68", 0x006899}, 
{"\x97\x69", 0x00689A}, {"\x97\x6A", 0x00689B}, {"\x97\x6B", 0x00689C}, {"\x97\x6C", 0x00689D}, 

};
 for(size_t i=1; i<sizeof(db2bmp_10_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_10_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_11_gb18030_init()
{
static MB2UData db2bmp_11_gb18030 [] = { {"", 0}, 
{"\x97\x6D", 0x00689E}, {"\x97\x6E", 0x00689F}, {"\x97\x6F", 0x0068A0}, {"\x97\x70", 0x0068A1}, 
{"\x97\x71", 0x0068A3}, {"\x97\x72", 0x0068A4}, {"\x97\x73", 0x0068A5}, {"\x97\x74", 0x0068A9}, 
{"\x97\x75", 0x0068AA}, {"\x97\x76", 0x0068AB}, {"\x97\x77", 0x0068AC}, {"\x97\x78", 0x0068AE}, 
{"\x97\x79", 0x0068B1}, {"\x97\x7A", 0x0068B2}, {"\x97\x7B", 0x0068B4}, {"\x97\x7C", 0x0068B6}, 
{"\x97\x7D", 0x0068B7}, {"\x97\x7E", 0x0068B8}, {"\x97\x80", 0x0068B9}, {"\x97\x81", 0x0068BA}, 
{"\x97\x82", 0x0068BB}, {"\x97\x83", 0x0068BC}, {"\x97\x84", 0x0068BD}, {"\x97\x85", 0x0068BE}, 
{"\x97\x86", 0x0068BF}, {"\x97\x87", 0x0068C1}, {"\x97\x88", 0x0068C3}, {"\x97\x89", 0x0068C4}, 
{"\x97\x8A", 0x0068C5}, {"\x97\x8B", 0x0068C6}, {"\x97\x8C", 0x0068C7}, {"\x97\x8D", 0x0068C8}, 
{"\x97\x8E", 0x0068CA}, {"\x97\x8F", 0x0068CC}, {"\x97\x90", 0x0068CE}, {"\x97\x91", 0x0068CF}, 
{"\x97\x92", 0x0068D0}, {"\x97\x93", 0x0068D1}, {"\x97\x94", 0x0068D3}, {"\x97\x95", 0x0068D4}, 
{"\x97\x96", 0x0068D6}, {"\x97\x97", 0x0068D7}, {"\x97\x98", 0x0068D9}, {"\x97\x99", 0x0068DB}, 
{"\x97\x9A", 0x0068DC}, {"\x97\x9B", 0x0068DD}, {"\x97\x9C", 0x0068DE}, {"\x97\x9D", 0x0068DF}, 
{"\x97\x9E", 0x0068E1}, {"\x97\x9F", 0x0068E2}, {"\x97\xA0", 0x0068E4}, {"\x97\xA1", 0x0068E5}, 
{"\x97\xA2", 0x0068E6}, {"\x97\xA3", 0x0068E7}, {"\x97\xA4", 0x0068E8}, {"\x97\xA5", 0x0068E9}, 
{"\x97\xA6", 0x0068EA}, {"\x97\xA7", 0x0068EB}, {"\x97\xA8", 0x0068EC}, {"\x97\xA9", 0x0068ED}, 
{"\x97\xAA", 0x0068EF}, {"\x97\xAB", 0x0068F2}, {"\x97\xAC", 0x0068F3}, {"\x97\xAD", 0x0068F4}, 
{"\x97\xAE", 0x0068F6}, {"\x97\xAF", 0x0068F7}, {"\x97\xB0", 0x0068F8}, {"\x97\xB1", 0x0068FB}, 
{"\x97\xB2", 0x0068FD}, {"\x97\xB3", 0x0068FE}, {"\x97\xB4", 0x0068FF}, {"\x97\xB5", 0x006900}, 
{"\x97\xB6", 0x006902}, {"\x97\xB7", 0x006903}, {"\x97\xB8", 0x006904}, {"\x97\xB9", 0x006906}, 
{"\x97\xBA", 0x006907}, {"\x97\xBB", 0x006908}, {"\x97\xBC", 0x006909}, {"\x97\xBD", 0x00690A}, 
{"\x97\xBE", 0x00690C}, {"\x97\xBF", 0x00690F}, {"\x97\xC0", 0x006911}, {"\x97\xC1", 0x006913}, 
{"\x97\xC2", 0x006914}, {"\x97\xC3", 0x006915}, {"\x97\xC4", 0x006916}, {"\x97\xC5", 0x006917}, 
{"\x97\xC6", 0x006918}, {"\x97\xC7", 0x006919}, {"\x97\xC8", 0x00691A}, {"\x97\xC9", 0x00691B}, 
{"\x97\xCA", 0x00691C}, {"\x97\xCB", 0x00691D}, {"\x97\xCC", 0x00691E}, {"\x97\xCD", 0x006921}, 
{"\x97\xCE", 0x006922}, {"\x97\xCF", 0x006923}, {"\x97\xD0", 0x006925}, {"\x97\xD1", 0x006926}, 
{"\x97\xD2", 0x006927}, {"\x97\xD3", 0x006928}, {"\x97\xD4", 0x006929}, {"\x97\xD5", 0x00692A}, 
{"\x97\xD6", 0x00692B}, {"\x97\xD7", 0x00692C}, {"\x97\xD8", 0x00692E}, {"\x97\xD9", 0x00692F}, 
{"\x97\xDA", 0x006931}, {"\x97\xDB", 0x006932}, {"\x97\xDC", 0x006933}, {"\x97\xDD", 0x006935}, 
{"\x97\xDE", 0x006936}, {"\x97\xDF", 0x006937}, {"\x97\xE0", 0x006938}, {"\x97\xE1", 0x00693A}, 
{"\x97\xE2", 0x00693B}, {"\x97\xE3", 0x00693C}, {"\x97\xE4", 0x00693E}, {"\x97\xE5", 0x006940}, 
{"\x97\xE6", 0x006941}, {"\x97\xE7", 0x006943}, {"\x97\xE8", 0x006944}, {"\x97\xE9", 0x006945}, 
{"\x97\xEA", 0x006946}, {"\x97\xEB", 0x006947}, {"\x97\xEC", 0x006948}, {"\x97\xED", 0x006949}, 
{"\x97\xEE", 0x00694A}, {"\x97\xEF", 0x00694B}, {"\x97\xF0", 0x00694C}, {"\x97\xF1", 0x00694D}, 
{"\x97\xF2", 0x00694E}, {"\x97\xF3", 0x00694F}, {"\x97\xF4", 0x006950}, {"\x97\xF5", 0x006951}, 
{"\x97\xF6", 0x006952}, {"\x97\xF7", 0x006953}, {"\x97\xF8", 0x006955}, {"\x97\xF9", 0x006956}, 
{"\x97\xFA", 0x006958}, {"\x97\xFB", 0x006959}, {"\x97\xFC", 0x00695B}, {"\x97\xFD", 0x00695C}, 
{"\x97\xFE", 0x00695F}, {"\x98\x40", 0x006961}, {"\x98\x41", 0x006962}, {"\x98\x42", 0x006964}, 
{"\x98\x43", 0x006965}, {"\x98\x44", 0x006967}, {"\x98\x45", 0x006968}, {"\x98\x46", 0x006969}, 
{"\x98\x47", 0x00696A}, {"\x98\x48", 0x00696C}, {"\x98\x49", 0x00696D}, {"\x98\x4A", 0x00696F}, 
{"\x98\x4B", 0x006970}, {"\x98\x4C", 0x006972}, {"\x98\x4D", 0x006973}, {"\x98\x4E", 0x006974}, 
{"\x98\x4F", 0x006975}, {"\x98\x50", 0x006976}, {"\x98\x51", 0x00697A}, {"\x98\x52", 0x00697B}, 
{"\x98\x53", 0x00697D}, {"\x98\x54", 0x00697E}, {"\x98\x55", 0x00697F}, {"\x98\x56", 0x006981}, 
{"\x98\x57", 0x006983}, {"\x98\x58", 0x006985}, {"\x98\x59", 0x00698A}, {"\x98\x5A", 0x00698B}, 
{"\x98\x5B", 0x00698C}, {"\x98\x5C", 0x00698E}, {"\x98\x5D", 0x00698F}, {"\x98\x5E", 0x006990}, 
{"\x98\x5F", 0x006991}, {"\x98\x60", 0x006992}, {"\x98\x61", 0x006993}, {"\x98\x62", 0x006996}, 
{"\x98\x63", 0x006997}, {"\x98\x64", 0x006999}, {"\x98\x65", 0x00699A}, {"\x98\x66", 0x00699D}, 
{"\x98\x67", 0x00699E}, {"\x98\x68", 0x00699F}, {"\x98\x69", 0x0069A0}, {"\x98\x6A", 0x0069A1}, 
{"\x98\x6B", 0x0069A2}, {"\x98\x6C", 0x0069A3}, {"\x98\x6D", 0x0069A4}, {"\x98\x6E", 0x0069A5}, 
{"\x98\x6F", 0x0069A6}, {"\x98\x70", 0x0069A9}, {"\x98\x71", 0x0069AA}, {"\x98\x72", 0x0069AC}, 
{"\x98\x73", 0x0069AE}, {"\x98\x74", 0x0069AF}, {"\x98\x75", 0x0069B0}, {"\x98\x76", 0x0069B2}, 
{"\x98\x77", 0x0069B3}, {"\x98\x78", 0x0069B5}, {"\x98\x79", 0x0069B6}, {"\x98\x7A", 0x0069B8}, 
{"\x98\x7B", 0x0069B9}, {"\x98\x7C", 0x0069BA}, {"\x98\x7D", 0x0069BC}, {"\x98\x7E", 0x0069BD}, 
{"\x98\x80", 0x0069BE}, {"\x98\x81", 0x0069BF}, {"\x98\x82", 0x0069C0}, {"\x98\x83", 0x0069C2}, 
{"\x98\x84", 0x0069C3}, {"\x98\x85", 0x0069C4}, {"\x98\x86", 0x0069C5}, {"\x98\x87", 0x0069C6}, 
{"\x98\x88", 0x0069C7}, {"\x98\x89", 0x0069C8}, {"\x98\x8A", 0x0069C9}, {"\x98\x8B", 0x0069CB}, 
{"\x98\x8C", 0x0069CD}, {"\x98\x8D", 0x0069CF}, {"\x98\x8E", 0x0069D1}, {"\x98\x8F", 0x0069D2}, 
{"\x98\x90", 0x0069D3}, {"\x98\x91", 0x0069D5}, {"\x98\x92", 0x0069D6}, {"\x98\x93", 0x0069D7}, 
{"\x98\x94", 0x0069D8}, {"\x98\x95", 0x0069D9}, {"\x98\x96", 0x0069DA}, {"\x98\x97", 0x0069DC}, 
{"\x98\x98", 0x0069DD}, {"\x98\x99", 0x0069DE}, {"\x98\x9A", 0x0069E1}, {"\x98\x9B", 0x0069E2}, 
{"\x98\x9C", 0x0069E3}, {"\x98\x9D", 0x0069E4}, {"\x98\x9E", 0x0069E5}, {"\x98\x9F", 0x0069E6}, 
{"\x98\xA0", 0x0069E7}, {"\x98\xA1", 0x0069E8}, {"\x98\xA2", 0x0069E9}, {"\x98\xA3", 0x0069EA}, 
{"\x98\xA4", 0x0069EB}, {"\x98\xA5", 0x0069EC}, {"\x98\xA6", 0x0069EE}, {"\x98\xA7", 0x0069EF}, 
{"\x98\xA8", 0x0069F0}, {"\x98\xA9", 0x0069F1}, {"\x98\xAA", 0x0069F3}, {"\x98\xAB", 0x0069F4}, 
{"\x98\xAC", 0x0069F5}, {"\x98\xAD", 0x0069F6}, {"\x98\xAE", 0x0069F7}, {"\x98\xAF", 0x0069F8}, 

};
 for(size_t i=1; i<sizeof(db2bmp_11_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_11_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_12_gb18030_init()
{
static MB2UData db2bmp_12_gb18030 [] = { {"", 0}, 
{"\x98\xB0", 0x0069F9}, {"\x98\xB1", 0x0069FA}, {"\x98\xB2", 0x0069FB}, {"\x98\xB3", 0x0069FC}, 
{"\x98\xB4", 0x0069FE}, {"\x98\xB5", 0x006A00}, {"\x98\xB6", 0x006A01}, {"\x98\xB7", 0x006A02}, 
{"\x98\xB8", 0x006A03}, {"\x98\xB9", 0x006A04}, {"\x98\xBA", 0x006A05}, {"\x98\xBB", 0x006A06}, 
{"\x98\xBC", 0x006A07}, {"\x98\xBD", 0x006A08}, {"\x98\xBE", 0x006A09}, {"\x98\xBF", 0x006A0B}, 
{"\x98\xC0", 0x006A0C}, {"\x98\xC1", 0x006A0D}, {"\x98\xC2", 0x006A0E}, {"\x98\xC3", 0x006A0F}, 
{"\x98\xC4", 0x006A10}, {"\x98\xC5", 0x006A11}, {"\x98\xC6", 0x006A12}, {"\x98\xC7", 0x006A13}, 
{"\x98\xC8", 0x006A14}, {"\x98\xC9", 0x006A15}, {"\x98\xCA", 0x006A16}, {"\x98\xCB", 0x006A19}, 
{"\x98\xCC", 0x006A1A}, {"\x98\xCD", 0x006A1B}, {"\x98\xCE", 0x006A1C}, {"\x98\xCF", 0x006A1D}, 
{"\x98\xD0", 0x006A1E}, {"\x98\xD1", 0x006A20}, {"\x98\xD2", 0x006A22}, {"\x98\xD3", 0x006A23}, 
{"\x98\xD4", 0x006A24}, {"\x98\xD5", 0x006A25}, {"\x98\xD6", 0x006A26}, {"\x98\xD7", 0x006A27}, 
{"\x98\xD8", 0x006A29}, {"\x98\xD9", 0x006A2B}, {"\x98\xDA", 0x006A2C}, {"\x98\xDB", 0x006A2D}, 
{"\x98\xDC", 0x006A2E}, {"\x98\xDD", 0x006A30}, {"\x98\xDE", 0x006A32}, {"\x98\xDF", 0x006A33}, 
{"\x98\xE0", 0x006A34}, {"\x98\xE1", 0x006A36}, {"\x98\xE2", 0x006A37}, {"\x98\xE3", 0x006A38}, 
{"\x98\xE4", 0x006A39}, {"\x98\xE5", 0x006A3A}, {"\x98\xE6", 0x006A3B}, {"\x98\xE7", 0x006A3C}, 
{"\x98\xE8", 0x006A3F}, {"\x98\xE9", 0x006A40}, {"\x98\xEA", 0x006A41}, {"\x98\xEB", 0x006A42}, 
{"\x98\xEC", 0x006A43}, {"\x98\xED", 0x006A45}, {"\x98\xEE", 0x006A46}, {"\x98\xEF", 0x006A48}, 
{"\x98\xF0", 0x006A49}, {"\x98\xF1", 0x006A4A}, {"\x98\xF2", 0x006A4B}, {"\x98\xF3", 0x006A4C}, 
{"\x98\xF4", 0x006A4D}, {"\x98\xF5", 0x006A4E}, {"\x98\xF6", 0x006A4F}, {"\x98\xF7", 0x006A51}, 
{"\x98\xF8", 0x006A52}, {"\x98\xF9", 0x006A53}, {"\x98\xFA", 0x006A54}, {"\x98\xFB", 0x006A55}, 
{"\x98\xFC", 0x006A56}, {"\x98\xFD", 0x006A57}, {"\x98\xFE", 0x006A5A}, {"\x99\x40", 0x006A5C}, 
{"\x99\x41", 0x006A5D}, {"\x99\x42", 0x006A5E}, {"\x99\x43", 0x006A5F}, {"\x99\x44", 0x006A60}, 
{"\x99\x45", 0x006A62}, {"\x99\x46", 0x006A63}, {"\x99\x47", 0x006A64}, {"\x99\x48", 0x006A66}, 
{"\x99\x49", 0x006A67}, {"\x99\x4A", 0x006A68}, {"\x99\x4B", 0x006A69}, {"\x99\x4C", 0x006A6A}, 
{"\x99\x4D", 0x006A6B}, {"\x99\x4E", 0x006A6C}, {"\x99\x4F", 0x006A6D}, {"\x99\x50", 0x006A6E}, 
{"\x99\x51", 0x006A6F}, {"\x99\x52", 0x006A70}, {"\x99\x53", 0x006A72}, {"\x99\x54", 0x006A73}, 
{"\x99\x55", 0x006A74}, {"\x99\x56", 0x006A75}, {"\x99\x57", 0x006A76}, {"\x99\x58", 0x006A77}, 
{"\x99\x59", 0x006A78}, {"\x99\x5A", 0x006A7A}, {"\x99\x5B", 0x006A7B}, {"\x99\x5C", 0x006A7D}, 
{"\x99\x5D", 0x006A7E}, {"\x99\x5E", 0x006A7F}, {"\x99\x5F", 0x006A81}, {"\x99\x60", 0x006A82}, 
{"\x99\x61", 0x006A83}, {"\x99\x62", 0x006A85}, {"\x99\x63", 0x006A86}, {"\x99\x64", 0x006A87}, 
{"\x99\x65", 0x006A88}, {"\x99\x66", 0x006A89}, {"\x99\x67", 0x006A8A}, {"\x99\x68", 0x006A8B}, 
{"\x99\x69", 0x006A8C}, {"\x99\x6A", 0x006A8D}, {"\x99\x6B", 0x006A8F}, {"\x99\x6C", 0x006A92}, 
{"\x99\x6D", 0x006A93}, {"\x99\x6E", 0x006A94}, {"\x99\x6F", 0x006A95}, {"\x99\x70", 0x006A96}, 
{"\x99\x71", 0x006A98}, {"\x99\x72", 0x006A99}, {"\x99\x73", 0x006A9A}, {"\x99\x74", 0x006A9B}, 
{"\x99\x75", 0x006A9C}, {"\x99\x76", 0x006A9D}, {"\x99\x77", 0x006A9E}, {"\x99\x78", 0x006A9F}, 
{"\x99\x79", 0x006AA1}, {"\x99\x7A", 0x006AA2}, {"\x99\x7B", 0x006AA3}, {"\x99\x7C", 0x006AA4}, 
{"\x99\x7D", 0x006AA5}, {"\x99\x7E", 0x006AA6}, {"\x99\x80", 0x006AA7}, {"\x99\x81", 0x006AA8}, 
{"\x99\x82", 0x006AAA}, {"\x99\x83", 0x006AAD}, {"\x99\x84", 0x006AAE}, {"\x99\x85", 0x006AAF}, 
{"\x99\x86", 0x006AB0}, {"\x99\x87", 0x006AB1}, {"\x99\x88", 0x006AB2}, {"\x99\x89", 0x006AB3}, 
{"\x99\x8A", 0x006AB4}, {"\x99\x8B", 0x006AB5}, {"\x99\x8C", 0x006AB6}, {"\x99\x8D", 0x006AB7}, 
{"\x99\x8E", 0x006AB8}, {"\x99\x8F", 0x006AB9}, {"\x99\x90", 0x006ABA}, {"\x99\x91", 0x006ABB}, 
{"\x99\x92", 0x006ABC}, {"\x99\x93", 0x006ABD}, {"\x99\x94", 0x006ABE}, {"\x99\x95", 0x006ABF}, 
{"\x99\x96", 0x006AC0}, {"\x99\x97", 0x006AC1}, {"\x99\x98", 0x006AC2}, {"\x99\x99", 0x006AC3}, 
{"\x99\x9A", 0x006AC4}, {"\x99\x9B", 0x006AC5}, {"\x99\x9C", 0x006AC6}, {"\x99\x9D", 0x006AC7}, 
{"\x99\x9E", 0x006AC8}, {"\x99\x9F", 0x006AC9}, {"\x99\xA0", 0x006ACA}, {"\x99\xA1", 0x006ACB}, 
{"\x99\xA2", 0x006ACC}, {"\x99\xA3", 0x006ACD}, {"\x99\xA4", 0x006ACE}, {"\x99\xA5", 0x006ACF}, 
{"\x99\xA6", 0x006AD0}, {"\x99\xA7", 0x006AD1}, {"\x99\xA8", 0x006AD2}, {"\x99\xA9", 0x006AD3}, 
{"\x99\xAA", 0x006AD4}, {"\x99\xAB", 0x006AD5}, {"\x99\xAC", 0x006AD6}, {"\x99\xAD", 0x006AD7}, 
{"\x99\xAE", 0x006AD8}, {"\x99\xAF", 0x006AD9}, {"\x99\xB0", 0x006ADA}, {"\x99\xB1", 0x006ADB}, 
{"\x99\xB2", 0x006ADC}, {"\x99\xB3", 0x006ADD}, {"\x99\xB4", 0x006ADE}, {"\x99\xB5", 0x006ADF}, 
{"\x99\xB6", 0x006AE0}, {"\x99\xB7", 0x006AE1}, {"\x99\xB8", 0x006AE2}, {"\x99\xB9", 0x006AE3}, 
{"\x99\xBA", 0x006AE4}, {"\x99\xBB", 0x006AE5}, {"\x99\xBC", 0x006AE6}, {"\x99\xBD", 0x006AE7}, 
{"\x99\xBE", 0x006AE8}, {"\x99\xBF", 0x006AE9}, {"\x99\xC0", 0x006AEA}, {"\x99\xC1", 0x006AEB}, 
{"\x99\xC2", 0x006AEC}, {"\x99\xC3", 0x006AED}, {"\x99\xC4", 0x006AEE}, {"\x99\xC5", 0x006AEF}, 
{"\x99\xC6", 0x006AF0}, {"\x99\xC7", 0x006AF1}, {"\x99\xC8", 0x006AF2}, {"\x99\xC9", 0x006AF3}, 
{"\x99\xCA", 0x006AF4}, {"\x99\xCB", 0x006AF5}, {"\x99\xCC", 0x006AF6}, {"\x99\xCD", 0x006AF7}, 
{"\x99\xCE", 0x006AF8}, {"\x99\xCF", 0x006AF9}, {"\x99\xD0", 0x006AFA}, {"\x99\xD1", 0x006AFB}, 
{"\x99\xD2", 0x006AFC}, {"\x99\xD3", 0x006AFD}, {"\x99\xD4", 0x006AFE}, {"\x99\xD5", 0x006AFF}, 
{"\x99\xD6", 0x006B00}, {"\x99\xD7", 0x006B01}, {"\x99\xD8", 0x006B02}, {"\x99\xD9", 0x006B03}, 
{"\x99\xDA", 0x006B04}, {"\x99\xDB", 0x006B05}, {"\x99\xDC", 0x006B06}, {"\x99\xDD", 0x006B07}, 
{"\x99\xDE", 0x006B08}, {"\x99\xDF", 0x006B09}, {"\x99\xE0", 0x006B0A}, {"\x99\xE1", 0x006B0B}, 
{"\x99\xE2", 0x006B0C}, {"\x99\xE3", 0x006B0D}, {"\x99\xE4", 0x006B0E}, {"\x99\xE5", 0x006B0F}, 
{"\x99\xE6", 0x006B10}, {"\x99\xE7", 0x006B11}, {"\x99\xE8", 0x006B12}, {"\x99\xE9", 0x006B13}, 
{"\x99\xEA", 0x006B14}, {"\x99\xEB", 0x006B15}, {"\x99\xEC", 0x006B16}, {"\x99\xED", 0x006B17}, 
{"\x99\xEE", 0x006B18}, {"\x99\xEF", 0x006B19}, {"\x99\xF0", 0x006B1A}, {"\x99\xF1", 0x006B1B}, 

};
 for(size_t i=1; i<sizeof(db2bmp_12_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_12_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_13_gb18030_init()
{
static MB2UData db2bmp_13_gb18030 [] = { {"", 0}, 
{"\x99\xF2", 0x006B1C}, {"\x99\xF3", 0x006B1D}, {"\x99\xF4", 0x006B1E}, {"\x99\xF5", 0x006B1F}, 
{"\x99\xF6", 0x006B25}, {"\x99\xF7", 0x006B26}, {"\x99\xF8", 0x006B28}, {"\x99\xF9", 0x006B29}, 
{"\x99\xFA", 0x006B2A}, {"\x99\xFB", 0x006B2B}, {"\x99\xFC", 0x006B2C}, {"\x99\xFD", 0x006B2D}, 
{"\x99\xFE", 0x006B2E}, {"\x9A\x40", 0x006B2F}, {"\x9A\x41", 0x006B30}, {"\x9A\x42", 0x006B31}, 
{"\x9A\x43", 0x006B33}, {"\x9A\x44", 0x006B34}, {"\x9A\x45", 0x006B35}, {"\x9A\x46", 0x006B36}, 
{"\x9A\x47", 0x006B38}, {"\x9A\x48", 0x006B3B}, {"\x9A\x49", 0x006B3C}, {"\x9A\x4A", 0x006B3D}, 
{"\x9A\x4B", 0x006B3F}, {"\x9A\x4C", 0x006B40}, {"\x9A\x4D", 0x006B41}, {"\x9A\x4E", 0x006B42}, 
{"\x9A\x4F", 0x006B44}, {"\x9A\x50", 0x006B45}, {"\x9A\x51", 0x006B48}, {"\x9A\x52", 0x006B4A}, 
{"\x9A\x53", 0x006B4B}, {"\x9A\x54", 0x006B4D}, {"\x9A\x55", 0x006B4E}, {"\x9A\x56", 0x006B4F}, 
{"\x9A\x57", 0x006B50}, {"\x9A\x58", 0x006B51}, {"\x9A\x59", 0x006B52}, {"\x9A\x5A", 0x006B53}, 
{"\x9A\x5B", 0x006B54}, {"\x9A\x5C", 0x006B55}, {"\x9A\x5D", 0x006B56}, {"\x9A\x5E", 0x006B57}, 
{"\x9A\x5F", 0x006B58}, {"\x9A\x60", 0x006B5A}, {"\x9A\x61", 0x006B5B}, {"\x9A\x62", 0x006B5C}, 
{"\x9A\x63", 0x006B5D}, {"\x9A\x64", 0x006B5E}, {"\x9A\x65", 0x006B5F}, {"\x9A\x66", 0x006B60}, 
{"\x9A\x67", 0x006B61}, {"\x9A\x68", 0x006B68}, {"\x9A\x69", 0x006B69}, {"\x9A\x6A", 0x006B6B}, 
{"\x9A\x6B", 0x006B6C}, {"\x9A\x6C", 0x006B6D}, {"\x9A\x6D", 0x006B6E}, {"\x9A\x6E", 0x006B6F}, 
{"\x9A\x6F", 0x006B70}, {"\x9A\x70", 0x006B71}, {"\x9A\x71", 0x006B72}, {"\x9A\x72", 0x006B73}, 
{"\x9A\x73", 0x006B74}, {"\x9A\x74", 0x006B75}, {"\x9A\x75", 0x006B76}, {"\x9A\x76", 0x006B77}, 
{"\x9A\x77", 0x006B78}, {"\x9A\x78", 0x006B7A}, {"\x9A\x79", 0x006B7D}, {"\x9A\x7A", 0x006B7E}, 
{"\x9A\x7B", 0x006B7F}, {"\x9A\x7C", 0x006B80}, {"\x9A\x7D", 0x006B85}, {"\x9A\x7E", 0x006B88}, 
{"\x9A\x80", 0x006B8C}, {"\x9A\x81", 0x006B8E}, {"\x9A\x82", 0x006B8F}, {"\x9A\x83", 0x006B90}, 
{"\x9A\x84", 0x006B91}, {"\x9A\x85", 0x006B94}, {"\x9A\x86", 0x006B95}, {"\x9A\x87", 0x006B97}, 
{"\x9A\x88", 0x006B98}, {"\x9A\x89", 0x006B99}, {"\x9A\x8A", 0x006B9C}, {"\x9A\x8B", 0x006B9D}, 
{"\x9A\x8C", 0x006B9E}, {"\x9A\x8D", 0x006B9F}, {"\x9A\x8E", 0x006BA0}, {"\x9A\x8F", 0x006BA2}, 
{"\x9A\x90", 0x006BA3}, {"\x9A\x91", 0x006BA4}, {"\x9A\x92", 0x006BA5}, {"\x9A\x93", 0x006BA6}, 
{"\x9A\x94", 0x006BA7}, {"\x9A\x95", 0x006BA8}, {"\x9A\x96", 0x006BA9}, {"\x9A\x97", 0x006BAB}, 
{"\x9A\x98", 0x006BAC}, {"\x9A\x99", 0x006BAD}, {"\x9A\x9A", 0x006BAE}, {"\x9A\x9B", 0x006BAF}, 
{"\x9A\x9C", 0x006BB0}, {"\x9A\x9D", 0x006BB1}, {"\x9A\x9E", 0x006BB2}, {"\x9A\x9F", 0x006BB6}, 
{"\x9A\xA0", 0x006BB8}, {"\x9A\xA1", 0x006BB9}, {"\x9A\xA2", 0x006BBA}, {"\x9A\xA3", 0x006BBB}, 
{"\x9A\xA4", 0x006BBC}, {"\x9A\xA5", 0x006BBD}, {"\x9A\xA6", 0x006BBE}, {"\x9A\xA7", 0x006BC0}, 
{"\x9A\xA8", 0x006BC3}, {"\x9A\xA9", 0x006BC4}, {"\x9A\xAA", 0x006BC6}, {"\x9A\xAB", 0x006BC7}, 
{"\x9A\xAC", 0x006BC8}, {"\x9A\xAD", 0x006BC9}, {"\x9A\xAE", 0x006BCA}, {"\x9A\xAF", 0x006BCC}, 
{"\x9A\xB0", 0x006BCE}, {"\x9A\xB1", 0x006BD0}, {"\x9A\xB2", 0x006BD1}, {"\x9A\xB3", 0x006BD8}, 
{"\x9A\xB4", 0x006BDA}, {"\x9A\xB5", 0x006BDC}, {"\x9A\xB6", 0x006BDD}, {"\x9A\xB7", 0x006BDE}, 
{"\x9A\xB8", 0x006BDF}, {"\x9A\xB9", 0x006BE0}, {"\x9A\xBA", 0x006BE2}, {"\x9A\xBB", 0x006BE3}, 
{"\x9A\xBC", 0x006BE4}, {"\x9A\xBD", 0x006BE5}, {"\x9A\xBE", 0x006BE6}, {"\x9A\xBF", 0x006BE7}, 
{"\x9A\xC0", 0x006BE8}, {"\x9A\xC1", 0x006BE9}, {"\x9A\xC2", 0x006BEC}, {"\x9A\xC3", 0x006BED}, 
{"\x9A\xC4", 0x006BEE}, {"\x9A\xC5", 0x006BF0}, {"\x9A\xC6", 0x006BF1}, {"\x9A\xC7", 0x006BF2}, 
{"\x9A\xC8", 0x006BF4}, {"\x9A\xC9", 0x006BF6}, {"\x9A\xCA", 0x006BF7}, {"\x9A\xCB", 0x006BF8}, 
{"\x9A\xCC", 0x006BFA}, {"\x9A\xCD", 0x006BFB}, {"\x9A\xCE", 0x006BFC}, {"\x9A\xCF", 0x006BFE}, 
{"\x9A\xD0", 0x006BFF}, {"\x9A\xD1", 0x006C00}, {"\x9A\xD2", 0x006C01}, {"\x9A\xD3", 0x006C02}, 
{"\x9A\xD4", 0x006C03}, {"\x9A\xD5", 0x006C04}, {"\x9A\xD6", 0x006C08}, {"\x9A\xD7", 0x006C09}, 
{"\x9A\xD8", 0x006C0A}, {"\x9A\xD9", 0x006C0B}, {"\x9A\xDA", 0x006C0C}, {"\x9A\xDB", 0x006C0E}, 
{"\x9A\xDC", 0x006C12}, {"\x9A\xDD", 0x006C17}, {"\x9A\xDE", 0x006C1C}, {"\x9A\xDF", 0x006C1D}, 
{"\x9A\xE0", 0x006C1E}, {"\x9A\xE1", 0x006C20}, {"\x9A\xE2", 0x006C23}, {"\x9A\xE3", 0x006C25}, 
{"\x9A\xE4", 0x006C2B}, {"\x9A\xE5", 0x006C2C}, {"\x9A\xE6", 0x006C2D}, {"\x9A\xE7", 0x006C31}, 
{"\x9A\xE8", 0x006C33}, {"\x9A\xE9", 0x006C36}, {"\x9A\xEA", 0x006C37}, {"\x9A\xEB", 0x006C39}, 
{"\x9A\xEC", 0x006C3A}, {"\x9A\xED", 0x006C3B}, {"\x9A\xEE", 0x006C3C}, {"\x9A\xEF", 0x006C3E}, 
{"\x9A\xF0", 0x006C3F}, {"\x9A\xF1", 0x006C43}, {"\x9A\xF2", 0x006C44}, {"\x9A\xF3", 0x006C45}, 
{"\x9A\xF4", 0x006C48}, {"\x9A\xF5", 0x006C4B}, {"\x9A\xF6", 0x006C4C}, {"\x9A\xF7", 0x006C4D}, 
{"\x9A\xF8", 0x006C4E}, {"\x9A\xF9", 0x006C4F}, {"\x9A\xFA", 0x006C51}, {"\x9A\xFB", 0x006C52}, 
{"\x9A\xFC", 0x006C53}, {"\x9A\xFD", 0x006C56}, {"\x9A\xFE", 0x006C58}, {"\x9B\x40", 0x006C59}, 
{"\x9B\x41", 0x006C5A}, {"\x9B\x42", 0x006C62}, {"\x9B\x43", 0x006C63}, {"\x9B\x44", 0x006C65}, 
{"\x9B\x45", 0x006C66}, {"\x9B\x46", 0x006C67}, {"\x9B\x47", 0x006C6B}, {"\x9B\x48", 0x006C6C}, 
{"\x9B\x49", 0x006C6D}, {"\x9B\x4A", 0x006C6E}, {"\x9B\x4B", 0x006C6F}, {"\x9B\x4C", 0x006C71}, 
{"\x9B\x4D", 0x006C73}, {"\x9B\x4E", 0x006C75}, {"\x9B\x4F", 0x006C77}, {"\x9B\x50", 0x006C78}, 
{"\x9B\x51", 0x006C7A}, {"\x9B\x52", 0x006C7B}, {"\x9B\x53", 0x006C7C}, {"\x9B\x54", 0x006C7F}, 
{"\x9B\x55", 0x006C80}, {"\x9B\x56", 0x006C84}, {"\x9B\x57", 0x006C87}, {"\x9B\x58", 0x006C8A}, 
{"\x9B\x59", 0x006C8B}, {"\x9B\x5A", 0x006C8D}, {"\x9B\x5B", 0x006C8E}, {"\x9B\x5C", 0x006C91}, 
{"\x9B\x5D", 0x006C92}, {"\x9B\x5E", 0x006C95}, {"\x9B\x5F", 0x006C96}, {"\x9B\x60", 0x006C97}, 
{"\x9B\x61", 0x006C98}, {"\x9B\x62", 0x006C9A}, {"\x9B\x63", 0x006C9C}, {"\x9B\x64", 0x006C9D}, 
{"\x9B\x65", 0x006C9E}, {"\x9B\x66", 0x006CA0}, {"\x9B\x67", 0x006CA2}, {"\x9B\x68", 0x006CA8}, 
{"\x9B\x69", 0x006CAC}, {"\x9B\x6A", 0x006CAF}, {"\x9B\x6B", 0x006CB0}, {"\x9B\x6C", 0x006CB4}, 
{"\x9B\x6D", 0x006CB5}, {"\x9B\x6E", 0x006CB6}, {"\x9B\x6F", 0x006CB7}, {"\x9B\x70", 0x006CBA}, 
{"\x9B\x71", 0x006CC0}, {"\x9B\x72", 0x006CC1}, {"\x9B\x73", 0x006CC2}, {"\x9B\x74", 0x006CC3}, 

};
 for(size_t i=1; i<sizeof(db2bmp_13_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_13_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_14_gb18030_init()
{
static MB2UData db2bmp_14_gb18030 [] = { {"", 0}, 
{"\x9B\x75", 0x006CC6}, {"\x9B\x76", 0x006CC7}, {"\x9B\x77", 0x006CC8}, {"\x9B\x78", 0x006CCB}, 
{"\x9B\x79", 0x006CCD}, {"\x9B\x7A", 0x006CCE}, {"\x9B\x7B", 0x006CCF}, {"\x9B\x7C", 0x006CD1}, 
{"\x9B\x7D", 0x006CD2}, {"\x9B\x7E", 0x006CD8}, {"\x9B\x80", 0x006CD9}, {"\x9B\x81", 0x006CDA}, 
{"\x9B\x82", 0x006CDC}, {"\x9B\x83", 0x006CDD}, {"\x9B\x84", 0x006CDF}, {"\x9B\x85", 0x006CE4}, 
{"\x9B\x86", 0x006CE6}, {"\x9B\x87", 0x006CE7}, {"\x9B\x88", 0x006CE9}, {"\x9B\x89", 0x006CEC}, 
{"\x9B\x8A", 0x006CED}, {"\x9B\x8B", 0x006CF2}, {"\x9B\x8C", 0x006CF4}, {"\x9B\x8D", 0x006CF9}, 
{"\x9B\x8E", 0x006CFF}, {"\x9B\x8F", 0x006D00}, {"\x9B\x90", 0x006D02}, {"\x9B\x91", 0x006D03}, 
{"\x9B\x92", 0x006D05}, {"\x9B\x93", 0x006D06}, {"\x9B\x94", 0x006D08}, {"\x9B\x95", 0x006D09}, 
{"\x9B\x96", 0x006D0A}, {"\x9B\x97", 0x006D0D}, {"\x9B\x98", 0x006D0F}, {"\x9B\x99", 0x006D10}, 
{"\x9B\x9A", 0x006D11}, {"\x9B\x9B", 0x006D13}, {"\x9B\x9C", 0x006D14}, {"\x9B\x9D", 0x006D15}, 
{"\x9B\x9E", 0x006D16}, {"\x9B\x9F", 0x006D18}, {"\x9B\xA0", 0x006D1C}, {"\x9B\xA1", 0x006D1D}, 
{"\x9B\xA2", 0x006D1F}, {"\x9B\xA3", 0x006D20}, {"\x9B\xA4", 0x006D21}, {"\x9B\xA5", 0x006D22}, 
{"\x9B\xA6", 0x006D23}, {"\x9B\xA7", 0x006D24}, {"\x9B\xA8", 0x006D26}, {"\x9B\xA9", 0x006D28}, 
{"\x9B\xAA", 0x006D29}, {"\x9B\xAB", 0x006D2C}, {"\x9B\xAC", 0x006D2D}, {"\x9B\xAD", 0x006D2F}, 
{"\x9B\xAE", 0x006D30}, {"\x9B\xAF", 0x006D34}, {"\x9B\xB0", 0x006D36}, {"\x9B\xB1", 0x006D37}, 
{"\x9B\xB2", 0x006D38}, {"\x9B\xB3", 0x006D3A}, {"\x9B\xB4", 0x006D3F}, {"\x9B\xB5", 0x006D40}, 
{"\x9B\xB6", 0x006D42}, {"\x9B\xB7", 0x006D44}, {"\x9B\xB8", 0x006D49}, {"\x9B\xB9", 0x006D4C}, 
{"\x9B\xBA", 0x006D50}, {"\x9B\xBB", 0x006D55}, {"\x9B\xBC", 0x006D56}, {"\x9B\xBD", 0x006D57}, 
{"\x9B\xBE", 0x006D58}, {"\x9B\xBF", 0x006D5B}, {"\x9B\xC0", 0x006D5D}, {"\x9B\xC1", 0x006D5F}, 
{"\x9B\xC2", 0x006D61}, {"\x9B\xC3", 0x006D62}, {"\x9B\xC4", 0x006D64}, {"\x9B\xC5", 0x006D65}, 
{"\x9B\xC6", 0x006D67}, {"\x9B\xC7", 0x006D68}, {"\x9B\xC8", 0x006D6B}, {"\x9B\xC9", 0x006D6C}, 
{"\x9B\xCA", 0x006D6D}, {"\x9B\xCB", 0x006D70}, {"\x9B\xCC", 0x006D71}, {"\x9B\xCD", 0x006D72}, 
{"\x9B\xCE", 0x006D73}, {"\x9B\xCF", 0x006D75}, {"\x9B\xD0", 0x006D76}, {"\x9B\xD1", 0x006D79}, 
{"\x9B\xD2", 0x006D7A}, {"\x9B\xD3", 0x006D7B}, {"\x9B\xD4", 0x006D7D}, {"\x9B\xD5", 0x006D7E}, 
{"\x9B\xD6", 0x006D7F}, {"\x9B\xD7", 0x006D80}, {"\x9B\xD8", 0x006D81}, {"\x9B\xD9", 0x006D83}, 
{"\x9B\xDA", 0x006D84}, {"\x9B\xDB", 0x006D86}, {"\x9B\xDC", 0x006D87}, {"\x9B\xDD", 0x006D8A}, 
{"\x9B\xDE", 0x006D8B}, {"\x9B\xDF", 0x006D8D}, {"\x9B\xE0", 0x006D8F}, {"\x9B\xE1", 0x006D90}, 
{"\x9B\xE2", 0x006D92}, {"\x9B\xE3", 0x006D96}, {"\x9B\xE4", 0x006D97}, {"\x9B\xE5", 0x006D98}, 
{"\x9B\xE6", 0x006D99}, {"\x9B\xE7", 0x006D9A}, {"\x9B\xE8", 0x006D9C}, {"\x9B\xE9", 0x006DA2}, 
{"\x9B\xEA", 0x006DA5}, {"\x9B\xEB", 0x006DAC}, {"\x9B\xEC", 0x006DAD}, {"\x9B\xED", 0x006DB0}, 
{"\x9B\xEE", 0x006DB1}, {"\x9B\xEF", 0x006DB3}, {"\x9B\xF0", 0x006DB4}, {"\x9B\xF1", 0x006DB6}, 
{"\x9B\xF2", 0x006DB7}, {"\x9B\xF3", 0x006DB9}, {"\x9B\xF4", 0x006DBA}, {"\x9B\xF5", 0x006DBB}, 
{"\x9B\xF6", 0x006DBC}, {"\x9B\xF7", 0x006DBD}, {"\x9B\xF8", 0x006DBE}, {"\x9B\xF9", 0x006DC1}, 
{"\x9B\xFA", 0x006DC2}, {"\x9B\xFB", 0x006DC3}, {"\x9B\xFC", 0x006DC8}, {"\x9B\xFD", 0x006DC9}, 
{"\x9B\xFE", 0x006DCA}, {"\x9C\x40", 0x006DCD}, {"\x9C\x41", 0x006DCE}, {"\x9C\x42", 0x006DCF}, 
{"\x9C\x43", 0x006DD0}, {"\x9C\x44", 0x006DD2}, {"\x9C\x45", 0x006DD3}, {"\x9C\x46", 0x006DD4}, 
{"\x9C\x47", 0x006DD5}, {"\x9C\x48", 0x006DD7}, {"\x9C\x49", 0x006DDA}, {"\x9C\x4A", 0x006DDB}, 
{"\x9C\x4B", 0x006DDC}, {"\x9C\x4C", 0x006DDF}, {"\x9C\x4D", 0x006DE2}, {"\x9C\x4E", 0x006DE3}, 
{"\x9C\x4F", 0x006DE5}, {"\x9C\x50", 0x006DE7}, {"\x9C\x51", 0x006DE8}, {"\x9C\x52", 0x006DE9}, 
{"\x9C\x53", 0x006DEA}, {"\x9C\x54", 0x006DED}, {"\x9C\x55", 0x006DEF}, {"\x9C\x56", 0x006DF0}, 
{"\x9C\x57", 0x006DF2}, {"\x9C\x58", 0x006DF4}, {"\x9C\x59", 0x006DF5}, {"\x9C\x5A", 0x006DF6}, 
{"\x9C\x5B", 0x006DF8}, {"\x9C\x5C", 0x006DFA}, {"\x9C\x5D", 0x006DFD}, {"\x9C\x5E", 0x006DFE}, 
{"\x9C\x5F", 0x006DFF}, {"\x9C\x60", 0x006E00}, {"\x9C\x61", 0x006E01}, {"\x9C\x62", 0x006E02}, 
{"\x9C\x63", 0x006E03}, {"\x9C\x64", 0x006E04}, {"\x9C\x65", 0x006E06}, {"\x9C\x66", 0x006E07}, 
{"\x9C\x67", 0x006E08}, {"\x9C\x68", 0x006E09}, {"\x9C\x69", 0x006E0B}, {"\x9C\x6A", 0x006E0F}, 
{"\x9C\x6B", 0x006E12}, {"\x9C\x6C", 0x006E13}, {"\x9C\x6D", 0x006E15}, {"\x9C\x6E", 0x006E18}, 
{"\x9C\x6F", 0x006E19}, {"\x9C\x70", 0x006E1B}, {"\x9C\x71", 0x006E1C}, {"\x9C\x72", 0x006E1E}, 
{"\x9C\x73", 0x006E1F}, {"\x9C\x74", 0x006E22}, {"\x9C\x75", 0x006E26}, {"\x9C\x76", 0x006E27}, 
{"\x9C\x77", 0x006E28}, {"\x9C\x78", 0x006E2A}, {"\x9C\x79", 0x006E2C}, {"\x9C\x7A", 0x006E2E}, 
{"\x9C\x7B", 0x006E30}, {"\x9C\x7C", 0x006E31}, {"\x9C\x7D", 0x006E33}, {"\x9C\x7E", 0x006E35}, 
{"\x9C\x80", 0x006E36}, {"\x9C\x81", 0x006E37}, {"\x9C\x82", 0x006E39}, {"\x9C\x83", 0x006E3B}, 
{"\x9C\x84", 0x006E3C}, {"\x9C\x85", 0x006E3D}, {"\x9C\x86", 0x006E3E}, {"\x9C\x87", 0x006E3F}, 
{"\x9C\x88", 0x006E40}, {"\x9C\x89", 0x006E41}, {"\x9C\x8A", 0x006E42}, {"\x9C\x8B", 0x006E45}, 
{"\x9C\x8C", 0x006E46}, {"\x9C\x8D", 0x006E47}, {"\x9C\x8E", 0x006E48}, {"\x9C\x8F", 0x006E49}, 
{"\x9C\x90", 0x006E4A}, {"\x9C\x91", 0x006E4B}, {"\x9C\x92", 0x006E4C}, {"\x9C\x93", 0x006E4F}, 
{"\x9C\x94", 0x006E50}, {"\x9C\x95", 0x006E51}, {"\x9C\x96", 0x006E52}, {"\x9C\x97", 0x006E55}, 
{"\x9C\x98", 0x006E57}, {"\x9C\x99", 0x006E59}, {"\x9C\x9A", 0x006E5A}, {"\x9C\x9B", 0x006E5C}, 
{"\x9C\x9C", 0x006E5D}, {"\x9C\x9D", 0x006E5E}, {"\x9C\x9E", 0x006E60}, {"\x9C\x9F", 0x006E61}, 
{"\x9C\xA0", 0x006E62}, {"\x9C\xA1", 0x006E63}, {"\x9C\xA2", 0x006E64}, {"\x9C\xA3", 0x006E65}, 
{"\x9C\xA4", 0x006E66}, {"\x9C\xA5", 0x006E67}, {"\x9C\xA6", 0x006E68}, {"\x9C\xA7", 0x006E69}, 
{"\x9C\xA8", 0x006E6A}, {"\x9C\xA9", 0x006E6C}, {"\x9C\xAA", 0x006E6D}, {"\x9C\xAB", 0x006E6F}, 
{"\x9C\xAC", 0x006E70}, {"\x9C\xAD", 0x006E71}, {"\x9C\xAE", 0x006E72}, {"\x9C\xAF", 0x006E73}, 
{"\x9C\xB0", 0x006E74}, {"\x9C\xB1", 0x006E75}, {"\x9C\xB2", 0x006E76}, {"\x9C\xB3", 0x006E77}, 
{"\x9C\xB4", 0x006E78}, {"\x9C\xB5", 0x006E79}, {"\x9C\xB6", 0x006E7A}, {"\x9C\xB7", 0x006E7B}, 

};
 for(size_t i=1; i<sizeof(db2bmp_14_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_14_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_15_gb18030_init()
{
static MB2UData db2bmp_15_gb18030 [] = { {"", 0}, 
{"\x9C\xB8", 0x006E7C}, {"\x9C\xB9", 0x006E7D}, {"\x9C\xBA", 0x006E80}, {"\x9C\xBB", 0x006E81}, 
{"\x9C\xBC", 0x006E82}, {"\x9C\xBD", 0x006E84}, {"\x9C\xBE", 0x006E87}, {"\x9C\xBF", 0x006E88}, 
{"\x9C\xC0", 0x006E8A}, {"\x9C\xC1", 0x006E8B}, {"\x9C\xC2", 0x006E8C}, {"\x9C\xC3", 0x006E8D}, 
{"\x9C\xC4", 0x006E8E}, {"\x9C\xC5", 0x006E91}, {"\x9C\xC6", 0x006E92}, {"\x9C\xC7", 0x006E93}, 
{"\x9C\xC8", 0x006E94}, {"\x9C\xC9", 0x006E95}, {"\x9C\xCA", 0x006E96}, {"\x9C\xCB", 0x006E97}, 
{"\x9C\xCC", 0x006E99}, {"\x9C\xCD", 0x006E9A}, {"\x9C\xCE", 0x006E9B}, {"\x9C\xCF", 0x006E9D}, 
{"\x9C\xD0", 0x006E9E}, {"\x9C\xD1", 0x006EA0}, {"\x9C\xD2", 0x006EA1}, {"\x9C\xD3", 0x006EA3}, 
{"\x9C\xD4", 0x006EA4}, {"\x9C\xD5", 0x006EA6}, {"\x9C\xD6", 0x006EA8}, {"\x9C\xD7", 0x006EA9}, 
{"\x9C\xD8", 0x006EAB}, {"\x9C\xD9", 0x006EAC}, {"\x9C\xDA", 0x006EAD}, {"\x9C\xDB", 0x006EAE}, 
{"\x9C\xDC", 0x006EB0}, {"\x9C\xDD", 0x006EB3}, {"\x9C\xDE", 0x006EB5}, {"\x9C\xDF", 0x006EB8}, 
{"\x9C\xE0", 0x006EB9}, {"\x9C\xE1", 0x006EBC}, {"\x9C\xE2", 0x006EBE}, {"\x9C\xE3", 0x006EBF}, 
{"\x9C\xE4", 0x006EC0}, {"\x9C\xE5", 0x006EC3}, {"\x9C\xE6", 0x006EC4}, {"\x9C\xE7", 0x006EC5}, 
{"\x9C\xE8", 0x006EC6}, {"\x9C\xE9", 0x006EC8}, {"\x9C\xEA", 0x006EC9}, {"\x9C\xEB", 0x006ECA}, 
{"\x9C\xEC", 0x006ECC}, {"\x9C\xED", 0x006ECD}, {"\x9C\xEE", 0x006ECE}, {"\x9C\xEF", 0x006ED0}, 
{"\x9C\xF0", 0x006ED2}, {"\x9C\xF1", 0x006ED6}, {"\x9C\xF2", 0x006ED8}, {"\x9C\xF3", 0x006ED9}, 
{"\x9C\xF4", 0x006EDB}, {"\x9C\xF5", 0x006EDC}, {"\x9C\xF6", 0x006EDD}, {"\x9C\xF7", 0x006EE3}, 
{"\x9C\xF8", 0x006EE7}, {"\x9C\xF9", 0x006EEA}, {"\x9C\xFA", 0x006EEB}, {"\x9C\xFB", 0x006EEC}, 
{"\x9C\xFC", 0x006EED}, {"\x9C\xFD", 0x006EEE}, {"\x9C\xFE", 0x006EEF}, {"\x9D\x40", 0x006EF0}, 
{"\x9D\x41", 0x006EF1}, {"\x9D\x42", 0x006EF2}, {"\x9D\x43", 0x006EF3}, {"\x9D\x44", 0x006EF5}, 
{"\x9D\x45", 0x006EF6}, {"\x9D\x46", 0x006EF7}, {"\x9D\x47", 0x006EF8}, {"\x9D\x48", 0x006EFA}, 
{"\x9D\x49", 0x006EFB}, {"\x9D\x4A", 0x006EFC}, {"\x9D\x4B", 0x006EFD}, {"\x9D\x4C", 0x006EFE}, 
{"\x9D\x4D", 0x006EFF}, {"\x9D\x4E", 0x006F00}, {"\x9D\x4F", 0x006F01}, {"\x9D\x50", 0x006F03}, 
{"\x9D\x51", 0x006F04}, {"\x9D\x52", 0x006F05}, {"\x9D\x53", 0x006F07}, {"\x9D\x54", 0x006F08}, 
{"\x9D\x55", 0x006F0A}, {"\x9D\x56", 0x006F0B}, {"\x9D\x57", 0x006F0C}, {"\x9D\x58", 0x006F0D}, 
{"\x9D\x59", 0x006F0E}, {"\x9D\x5A", 0x006F10}, {"\x9D\x5B", 0x006F11}, {"\x9D\x5C", 0x006F12}, 
{"\x9D\x5D", 0x006F16}, {"\x9D\x5E", 0x006F17}, {"\x9D\x5F", 0x006F18}, {"\x9D\x60", 0x006F19}, 
{"\x9D\x61", 0x006F1A}, {"\x9D\x62", 0x006F1B}, {"\x9D\x63", 0x006F1C}, {"\x9D\x64", 0x006F1D}, 
{"\x9D\x65", 0x006F1E}, {"\x9D\x66", 0x006F1F}, {"\x9D\x67", 0x006F21}, {"\x9D\x68", 0x006F22}, 
{"\x9D\x69", 0x006F23}, {"\x9D\x6A", 0x006F25}, {"\x9D\x6B", 0x006F26}, {"\x9D\x6C", 0x006F27}, 
{"\x9D\x6D", 0x006F28}, {"\x9D\x6E", 0x006F2C}, {"\x9D\x6F", 0x006F2E}, {"\x9D\x70", 0x006F30}, 
{"\x9D\x71", 0x006F32}, {"\x9D\x72", 0x006F34}, {"\x9D\x73", 0x006F35}, {"\x9D\x74", 0x006F37}, 
{"\x9D\x75", 0x006F38}, {"\x9D\x76", 0x006F39}, {"\x9D\x77", 0x006F3A}, {"\x9D\x78", 0x006F3B}, 
{"\x9D\x79", 0x006F3C}, {"\x9D\x7A", 0x006F3D}, {"\x9D\x7B", 0x006F3F}, {"\x9D\x7C", 0x006F40}, 
{"\x9D\x7D", 0x006F41}, {"\x9D\x7E", 0x006F42}, {"\x9D\x80", 0x006F43}, {"\x9D\x81", 0x006F44}, 
{"\x9D\x82", 0x006F45}, {"\x9D\x83", 0x006F48}, {"\x9D\x84", 0x006F49}, {"\x9D\x85", 0x006F4A}, 
{"\x9D\x86", 0x006F4C}, {"\x9D\x87", 0x006F4E}, {"\x9D\x88", 0x006F4F}, {"\x9D\x89", 0x006F50}, 
{"\x9D\x8A", 0x006F51}, {"\x9D\x8B", 0x006F52}, {"\x9D\x8C", 0x006F53}, {"\x9D\x8D", 0x006F54}, 
{"\x9D\x8E", 0x006F55}, {"\x9D\x8F", 0x006F56}, {"\x9D\x90", 0x006F57}, {"\x9D\x91", 0x006F59}, 
{"\x9D\x92", 0x006F5A}, {"\x9D\x93", 0x006F5B}, {"\x9D\x94", 0x006F5D}, {"\x9D\x95", 0x006F5F}, 
{"\x9D\x96", 0x006F60}, {"\x9D\x97", 0x006F61}, {"\x9D\x98", 0x006F63}, {"\x9D\x99", 0x006F64}, 
{"\x9D\x9A", 0x006F65}, {"\x9D\x9B", 0x006F67}, {"\x9D\x9C", 0x006F68}, {"\x9D\x9D", 0x006F69}, 
{"\x9D\x9E", 0x006F6A}, {"\x9D\x9F", 0x006F6B}, {"\x9D\xA0", 0x006F6C}, {"\x9D\xA1", 0x006F6F}, 
{"\x9D\xA2", 0x006F70}, {"\x9D\xA3", 0x006F71}, {"\x9D\xA4", 0x006F73}, {"\x9D\xA5", 0x006F75}, 
{"\x9D\xA6", 0x006F76}, {"\x9D\xA7", 0x006F77}, {"\x9D\xA8", 0x006F79}, {"\x9D\xA9", 0x006F7B}, 
{"\x9D\xAA", 0x006F7D}, {"\x9D\xAB", 0x006F7E}, {"\x9D\xAC", 0x006F7F}, {"\x9D\xAD", 0x006F80}, 
{"\x9D\xAE", 0x006F81}, {"\x9D\xAF", 0x006F82}, {"\x9D\xB0", 0x006F83}, {"\x9D\xB1", 0x006F85}, 
{"\x9D\xB2", 0x006F86}, {"\x9D\xB3", 0x006F87}, {"\x9D\xB4", 0x006F8A}, {"\x9D\xB5", 0x006F8B}, 
{"\x9D\xB6", 0x006F8F}, {"\x9D\xB7", 0x006F90}, {"\x9D\xB8", 0x006F91}, {"\x9D\xB9", 0x006F92}, 
{"\x9D\xBA", 0x006F93}, {"\x9D\xBB", 0x006F94}, {"\x9D\xBC", 0x006F95}, {"\x9D\xBD", 0x006F96}, 
{"\x9D\xBE", 0x006F97}, {"\x9D\xBF", 0x006F98}, {"\x9D\xC0", 0x006F99}, {"\x9D\xC1", 0x006F9A}, 
{"\x9D\xC2", 0x006F9B}, {"\x9D\xC3", 0x006F9D}, {"\x9D\xC4", 0x006F9E}, {"\x9D\xC5", 0x006F9F}, 
{"\x9D\xC6", 0x006FA0}, {"\x9D\xC7", 0x006FA2}, {"\x9D\xC8", 0x006FA3}, {"\x9D\xC9", 0x006FA4}, 
{"\x9D\xCA", 0x006FA5}, {"\x9D\xCB", 0x006FA6}, {"\x9D\xCC", 0x006FA8}, {"\x9D\xCD", 0x006FA9}, 
{"\x9D\xCE", 0x006FAA}, {"\x9D\xCF", 0x006FAB}, {"\x9D\xD0", 0x006FAC}, {"\x9D\xD1", 0x006FAD}, 
{"\x9D\xD2", 0x006FAE}, {"\x9D\xD3", 0x006FAF}, {"\x9D\xD4", 0x006FB0}, {"\x9D\xD5", 0x006FB1}, 
{"\x9D\xD6", 0x006FB2}, {"\x9D\xD7", 0x006FB4}, {"\x9D\xD8", 0x006FB5}, {"\x9D\xD9", 0x006FB7}, 
{"\x9D\xDA", 0x006FB8}, {"\x9D\xDB", 0x006FBA}, {"\x9D\xDC", 0x006FBB}, {"\x9D\xDD", 0x006FBC}, 
{"\x9D\xDE", 0x006FBD}, {"\x9D\xDF", 0x006FBE}, {"\x9D\xE0", 0x006FBF}, {"\x9D\xE1", 0x006FC1}, 
{"\x9D\xE2", 0x006FC3}, {"\x9D\xE3", 0x006FC4}, {"\x9D\xE4", 0x006FC5}, {"\x9D\xE5", 0x006FC6}, 
{"\x9D\xE6", 0x006FC7}, {"\x9D\xE7", 0x006FC8}, {"\x9D\xE8", 0x006FCA}, {"\x9D\xE9", 0x006FCB}, 
{"\x9D\xEA", 0x006FCC}, {"\x9D\xEB", 0x006FCD}, {"\x9D\xEC", 0x006FCE}, {"\x9D\xED", 0x006FCF}, 
{"\x9D\xEE", 0x006FD0}, {"\x9D\xEF", 0x006FD3}, {"\x9D\xF0", 0x006FD4}, {"\x9D\xF1", 0x006FD5}, 
{"\x9D\xF2", 0x006FD6}, {"\x9D\xF3", 0x006FD7}, {"\x9D\xF4", 0x006FD8}, {"\x9D\xF5", 0x006FD9}, 
{"\x9D\xF6", 0x006FDA}, {"\x9D\xF7", 0x006FDB}, {"\x9D\xF8", 0x006FDC}, {"\x9D\xF9", 0x006FDD}, 

};
 for(size_t i=1; i<sizeof(db2bmp_15_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_15_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_16_gb18030_init()
{
static MB2UData db2bmp_16_gb18030 [] = { {"", 0}, 
{"\x9D\xFA", 0x006FDF}, {"\x9D\xFB", 0x006FE2}, {"\x9D\xFC", 0x006FE3}, {"\x9D\xFD", 0x006FE4}, 
{"\x9D\xFE", 0x006FE5}, {"\x9E\x40", 0x006FE6}, {"\x9E\x41", 0x006FE7}, {"\x9E\x42", 0x006FE8}, 
{"\x9E\x43", 0x006FE9}, {"\x9E\x44", 0x006FEA}, {"\x9E\x45", 0x006FEB}, {"\x9E\x46", 0x006FEC}, 
{"\x9E\x47", 0x006FED}, {"\x9E\x48", 0x006FF0}, {"\x9E\x49", 0x006FF1}, {"\x9E\x4A", 0x006FF2}, 
{"\x9E\x4B", 0x006FF3}, {"\x9E\x4C", 0x006FF4}, {"\x9E\x4D", 0x006FF5}, {"\x9E\x4E", 0x006FF6}, 
{"\x9E\x4F", 0x006FF7}, {"\x9E\x50", 0x006FF8}, {"\x9E\x51", 0x006FF9}, {"\x9E\x52", 0x006FFA}, 
{"\x9E\x53", 0x006FFB}, {"\x9E\x54", 0x006FFC}, {"\x9E\x55", 0x006FFD}, {"\x9E\x56", 0x006FFE}, 
{"\x9E\x57", 0x006FFF}, {"\x9E\x58", 0x007000}, {"\x9E\x59", 0x007001}, {"\x9E\x5A", 0x007002}, 
{"\x9E\x5B", 0x007003}, {"\x9E\x5C", 0x007004}, {"\x9E\x5D", 0x007005}, {"\x9E\x5E", 0x007006}, 
{"\x9E\x5F", 0x007007}, {"\x9E\x60", 0x007008}, {"\x9E\x61", 0x007009}, {"\x9E\x62", 0x00700A}, 
{"\x9E\x63", 0x00700B}, {"\x9E\x64", 0x00700C}, {"\x9E\x65", 0x00700D}, {"\x9E\x66", 0x00700E}, 
{"\x9E\x67", 0x00700F}, {"\x9E\x68", 0x007010}, {"\x9E\x69", 0x007012}, {"\x9E\x6A", 0x007013}, 
{"\x9E\x6B", 0x007014}, {"\x9E\x6C", 0x007015}, {"\x9E\x6D", 0x007016}, {"\x9E\x6E", 0x007017}, 
{"\x9E\x6F", 0x007018}, {"\x9E\x70", 0x007019}, {"\x9E\x71", 0x00701C}, {"\x9E\x72", 0x00701D}, 
{"\x9E\x73", 0x00701E}, {"\x9E\x74", 0x00701F}, {"\x9E\x75", 0x007020}, {"\x9E\x76", 0x007021}, 
{"\x9E\x77", 0x007022}, {"\x9E\x78", 0x007024}, {"\x9E\x79", 0x007025}, {"\x9E\x7A", 0x007026}, 
{"\x9E\x7B", 0x007027}, {"\x9E\x7C", 0x007028}, {"\x9E\x7D", 0x007029}, {"\x9E\x7E", 0x00702A}, 
{"\x9E\x80", 0x00702B}, {"\x9E\x81", 0x00702C}, {"\x9E\x82", 0x00702D}, {"\x9E\x83", 0x00702E}, 
{"\x9E\x84", 0x00702F}, {"\x9E\x85", 0x007030}, {"\x9E\x86", 0x007031}, {"\x9E\x87", 0x007032}, 
{"\x9E\x88", 0x007033}, {"\x9E\x89", 0x007034}, {"\x9E\x8A", 0x007036}, {"\x9E\x8B", 0x007037}, 
{"\x9E\x8C", 0x007038}, {"\x9E\x8D", 0x00703A}, {"\x9E\x8E", 0x00703B}, {"\x9E\x8F", 0x00703C}, 
{"\x9E\x90", 0x00703D}, {"\x9E\x91", 0x00703E}, {"\x9E\x92", 0x00703F}, {"\x9E\x93", 0x007040}, 
{"\x9E\x94", 0x007041}, {"\x9E\x95", 0x007042}, {"\x9E\x96", 0x007043}, {"\x9E\x97", 0x007044}, 
{"\x9E\x98", 0x007045}, {"\x9E\x99", 0x007046}, {"\x9E\x9A", 0x007047}, {"\x9E\x9B", 0x007048}, 
{"\x9E\x9C", 0x007049}, {"\x9E\x9D", 0x00704A}, {"\x9E\x9E", 0x00704B}, {"\x9E\x9F", 0x00704D}, 
{"\x9E\xA0", 0x00704E}, {"\x9E\xA1", 0x007050}, {"\x9E\xA2", 0x007051}, {"\x9E\xA3", 0x007052}, 
{"\x9E\xA4", 0x007053}, {"\x9E\xA5", 0x007054}, {"\x9E\xA6", 0x007055}, {"\x9E\xA7", 0x007056}, 
{"\x9E\xA8", 0x007057}, {"\x9E\xA9", 0x007058}, {"\x9E\xAA", 0x007059}, {"\x9E\xAB", 0x00705A}, 
{"\x9E\xAC", 0x00705B}, {"\x9E\xAD", 0x00705C}, {"\x9E\xAE", 0x00705D}, {"\x9E\xAF", 0x00705F}, 
{"\x9E\xB0", 0x007060}, {"\x9E\xB1", 0x007061}, {"\x9E\xB2", 0x007062}, {"\x9E\xB3", 0x007063}, 
{"\x9E\xB4", 0x007064}, {"\x9E\xB5", 0x007065}, {"\x9E\xB6", 0x007066}, {"\x9E\xB7", 0x007067}, 
{"\x9E\xB8", 0x007068}, {"\x9E\xB9", 0x007069}, {"\x9E\xBA", 0x00706A}, {"\x9E\xBB", 0x00706E}, 
{"\x9E\xBC", 0x007071}, {"\x9E\xBD", 0x007072}, {"\x9E\xBE", 0x007073}, {"\x9E\xBF", 0x007074}, 
{"\x9E\xC0", 0x007077}, {"\x9E\xC1", 0x007079}, {"\x9E\xC2", 0x00707A}, {"\x9E\xC3", 0x00707B}, 
{"\x9E\xC4", 0x00707D}, {"\x9E\xC5", 0x007081}, {"\x9E\xC6", 0x007082}, {"\x9E\xC7", 0x007083}, 
{"\x9E\xC8", 0x007084}, {"\x9E\xC9", 0x007086}, {"\x9E\xCA", 0x007087}, {"\x9E\xCB", 0x007088}, 
{"\x9E\xCC", 0x00708B}, {"\x9E\xCD", 0x00708C}, {"\x9E\xCE", 0x00708D}, {"\x9E\xCF", 0x00708F}, 
{"\x9E\xD0", 0x007090}, {"\x9E\xD1", 0x007091}, {"\x9E\xD2", 0x007093}, {"\x9E\xD3", 0x007097}, 
{"\x9E\xD4", 0x007098}, {"\x9E\xD5", 0x00709A}, {"\x9E\xD6", 0x00709B}, {"\x9E\xD7", 0x00709E}, 
{"\x9E\xD8", 0x00709F}, {"\x9E\xD9", 0x0070A0}, {"\x9E\xDA", 0x0070A1}, {"\x9E\xDB", 0x0070A2}, 
{"\x9E\xDC", 0x0070A3}, {"\x9E\xDD", 0x0070A4}, {"\x9E\xDE", 0x0070A5}, {"\x9E\xDF", 0x0070A6}, 
{"\x9E\xE0", 0x0070A7}, {"\x9E\xE1", 0x0070A8}, {"\x9E\xE2", 0x0070A9}, {"\x9E\xE3", 0x0070AA}, 
{"\x9E\xE4", 0x0070B0}, {"\x9E\xE5", 0x0070B2}, {"\x9E\xE6", 0x0070B4}, {"\x9E\xE7", 0x0070B5}, 
{"\x9E\xE8", 0x0070B6}, {"\x9E\xE9", 0x0070BA}, {"\x9E\xEA", 0x0070BE}, {"\x9E\xEB", 0x0070BF}, 
{"\x9E\xEC", 0x0070C4}, {"\x9E\xED", 0x0070C5}, {"\x9E\xEE", 0x0070C6}, {"\x9E\xEF", 0x0070C7}, 
{"\x9E\xF0", 0x0070C9}, {"\x9E\xF1", 0x0070CB}, {"\x9E\xF2", 0x0070CC}, {"\x9E\xF3", 0x0070CD}, 
{"\x9E\xF4", 0x0070CE}, {"\x9E\xF5", 0x0070CF}, {"\x9E\xF6", 0x0070D0}, {"\x9E\xF7", 0x0070D1}, 
{"\x9E\xF8", 0x0070D2}, {"\x9E\xF9", 0x0070D3}, {"\x9E\xFA", 0x0070D4}, {"\x9E\xFB", 0x0070D5}, 
{"\x9E\xFC", 0x0070D6}, {"\x9E\xFD", 0x0070D7}, {"\x9E\xFE", 0x0070DA}, {"\x9F\x40", 0x0070DC}, 
{"\x9F\x41", 0x0070DD}, {"\x9F\x42", 0x0070DE}, {"\x9F\x43", 0x0070E0}, {"\x9F\x44", 0x0070E1}, 
{"\x9F\x45", 0x0070E2}, {"\x9F\x46", 0x0070E3}, {"\x9F\x47", 0x0070E5}, {"\x9F\x48", 0x0070EA}, 
{"\x9F\x49", 0x0070EE}, {"\x9F\x4A", 0x0070F0}, {"\x9F\x4B", 0x0070F1}, {"\x9F\x4C", 0x0070F2}, 
{"\x9F\x4D", 0x0070F3}, {"\x9F\x4E", 0x0070F4}, {"\x9F\x4F", 0x0070F5}, {"\x9F\x50", 0x0070F6}, 
{"\x9F\x51", 0x0070F8}, {"\x9F\x52", 0x0070FA}, {"\x9F\x53", 0x0070FB}, {"\x9F\x54", 0x0070FC}, 
{"\x9F\x55", 0x0070FE}, {"\x9F\x56", 0x0070FF}, {"\x9F\x57", 0x007100}, {"\x9F\x58", 0x007101}, 
{"\x9F\x59", 0x007102}, {"\x9F\x5A", 0x007103}, {"\x9F\x5B", 0x007104}, {"\x9F\x5C", 0x007105}, 
{"\x9F\x5D", 0x007106}, {"\x9F\x5E", 0x007107}, {"\x9F\x5F", 0x007108}, {"\x9F\x60", 0x00710B}, 
{"\x9F\x61", 0x00710C}, {"\x9F\x62", 0x00710D}, {"\x9F\x63", 0x00710E}, {"\x9F\x64", 0x00710F}, 
{"\x9F\x65", 0x007111}, {"\x9F\x66", 0x007112}, {"\x9F\x67", 0x007114}, {"\x9F\x68", 0x007117}, 
{"\x9F\x69", 0x00711B}, {"\x9F\x6A", 0x00711C}, {"\x9F\x6B", 0x00711D}, {"\x9F\x6C", 0x00711E}, 
{"\x9F\x6D", 0x00711F}, {"\x9F\x6E", 0x007120}, {"\x9F\x6F", 0x007121}, {"\x9F\x70", 0x007122}, 
{"\x9F\x71", 0x007123}, {"\x9F\x72", 0x007124}, {"\x9F\x73", 0x007125}, {"\x9F\x74", 0x007127}, 
{"\x9F\x75", 0x007128}, {"\x9F\x76", 0x007129}, {"\x9F\x77", 0x00712A}, {"\x9F\x78", 0x00712B}, 
{"\x9F\x79", 0x00712C}, {"\x9F\x7A", 0x00712D}, {"\x9F\x7B", 0x00712E}, {"\x9F\x7C", 0x007132}, 

};
 for(size_t i=1; i<sizeof(db2bmp_16_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_16_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_17_gb18030_init()
{
static MB2UData db2bmp_17_gb18030 [] = { {"", 0}, 
{"\x9F\x7D", 0x007133}, {"\x9F\x7E", 0x007134}, {"\x9F\x80", 0x007135}, {"\x9F\x81", 0x007137}, 
{"\x9F\x82", 0x007138}, {"\x9F\x83", 0x007139}, {"\x9F\x84", 0x00713A}, {"\x9F\x85", 0x00713B}, 
{"\x9F\x86", 0x00713C}, {"\x9F\x87", 0x00713D}, {"\x9F\x88", 0x00713E}, {"\x9F\x89", 0x00713F}, 
{"\x9F\x8A", 0x007140}, {"\x9F\x8B", 0x007141}, {"\x9F\x8C", 0x007142}, {"\x9F\x8D", 0x007143}, 
{"\x9F\x8E", 0x007144}, {"\x9F\x8F", 0x007146}, {"\x9F\x90", 0x007147}, {"\x9F\x91", 0x007148}, 
{"\x9F\x92", 0x007149}, {"\x9F\x93", 0x00714B}, {"\x9F\x94", 0x00714D}, {"\x9F\x95", 0x00714F}, 
{"\x9F\x96", 0x007150}, {"\x9F\x97", 0x007151}, {"\x9F\x98", 0x007152}, {"\x9F\x99", 0x007153}, 
{"\x9F\x9A", 0x007154}, {"\x9F\x9B", 0x007155}, {"\x9F\x9C", 0x007156}, {"\x9F\x9D", 0x007157}, 
{"\x9F\x9E", 0x007158}, {"\x9F\x9F", 0x007159}, {"\x9F\xA0", 0x00715A}, {"\x9F\xA1", 0x00715B}, 
{"\x9F\xA2", 0x00715D}, {"\x9F\xA3", 0x00715F}, {"\x9F\xA4", 0x007160}, {"\x9F\xA5", 0x007161}, 
{"\x9F\xA6", 0x007162}, {"\x9F\xA7", 0x007163}, {"\x9F\xA8", 0x007165}, {"\x9F\xA9", 0x007169}, 
{"\x9F\xAA", 0x00716A}, {"\x9F\xAB", 0x00716B}, {"\x9F\xAC", 0x00716C}, {"\x9F\xAD", 0x00716D}, 
{"\x9F\xAE", 0x00716F}, {"\x9F\xAF", 0x007170}, {"\x9F\xB0", 0x007171}, {"\x9F\xB1", 0x007174}, 
{"\x9F\xB2", 0x007175}, {"\x9F\xB3", 0x007176}, {"\x9F\xB4", 0x007177}, {"\x9F\xB5", 0x007179}, 
{"\x9F\xB6", 0x00717B}, {"\x9F\xB7", 0x00717C}, {"\x9F\xB8", 0x00717E}, {"\x9F\xB9", 0x00717F}, 
{"\x9F\xBA", 0x007180}, {"\x9F\xBB", 0x007181}, {"\x9F\xBC", 0x007182}, {"\x9F\xBD", 0x007183}, 
{"\x9F\xBE", 0x007185}, {"\x9F\xBF", 0x007186}, {"\x9F\xC0", 0x007187}, {"\x9F\xC1", 0x007188}, 
{"\x9F\xC2", 0x007189}, {"\x9F\xC3", 0x00718B}, {"\x9F\xC4", 0x00718C}, {"\x9F\xC5", 0x00718D}, 
{"\x9F\xC6", 0x00718E}, {"\x9F\xC7", 0x007190}, {"\x9F\xC8", 0x007191}, {"\x9F\xC9", 0x007192}, 
{"\x9F\xCA", 0x007193}, {"\x9F\xCB", 0x007195}, {"\x9F\xCC", 0x007196}, {"\x9F\xCD", 0x007197}, 
{"\x9F\xCE", 0x00719A}, {"\x9F\xCF", 0x00719B}, {"\x9F\xD0", 0x00719C}, {"\x9F\xD1", 0x00719D}, 
{"\x9F\xD2", 0x00719E}, {"\x9F\xD3", 0x0071A1}, {"\x9F\xD4", 0x0071A2}, {"\x9F\xD5", 0x0071A3}, 
{"\x9F\xD6", 0x0071A4}, {"\x9F\xD7", 0x0071A5}, {"\x9F\xD8", 0x0071A6}, {"\x9F\xD9", 0x0071A7}, 
{"\x9F\xDA", 0x0071A9}, {"\x9F\xDB", 0x0071AA}, {"\x9F\xDC", 0x0071AB}, {"\x9F\xDD", 0x0071AD}, 
{"\x9F\xDE", 0x0071AE}, {"\x9F\xDF", 0x0071AF}, {"\x9F\xE0", 0x0071B0}, {"\x9F\xE1", 0x0071B1}, 
{"\x9F\xE2", 0x0071B2}, {"\x9F\xE3", 0x0071B4}, {"\x9F\xE4", 0x0071B6}, {"\x9F\xE5", 0x0071B7}, 
{"\x9F\xE6", 0x0071B8}, {"\x9F\xE7", 0x0071BA}, {"\x9F\xE8", 0x0071BB}, {"\x9F\xE9", 0x0071BC}, 
{"\x9F\xEA", 0x0071BD}, {"\x9F\xEB", 0x0071BE}, {"\x9F\xEC", 0x0071BF}, {"\x9F\xED", 0x0071C0}, 
{"\x9F\xEE", 0x0071C1}, {"\x9F\xEF", 0x0071C2}, {"\x9F\xF0", 0x0071C4}, {"\x9F\xF1", 0x0071C5}, 
{"\x9F\xF2", 0x0071C6}, {"\x9F\xF3", 0x0071C7}, {"\x9F\xF4", 0x0071C8}, {"\x9F\xF5", 0x0071C9}, 
{"\x9F\xF6", 0x0071CA}, {"\x9F\xF7", 0x0071CB}, {"\x9F\xF8", 0x0071CC}, {"\x9F\xF9", 0x0071CD}, 
{"\x9F\xFA", 0x0071CF}, {"\x9F\xFB", 0x0071D0}, {"\x9F\xFC", 0x0071D1}, {"\x9F\xFD", 0x0071D2}, 
{"\x9F\xFE", 0x0071D3}, {"\xA0\x40", 0x0071D6}, {"\xA0\x41", 0x0071D7}, {"\xA0\x42", 0x0071D8}, 
{"\xA0\x43", 0x0071D9}, {"\xA0\x44", 0x0071DA}, {"\xA0\x45", 0x0071DB}, {"\xA0\x46", 0x0071DC}, 
{"\xA0\x47", 0x0071DD}, {"\xA0\x48", 0x0071DE}, {"\xA0\x49", 0x0071DF}, {"\xA0\x4A", 0x0071E1}, 
{"\xA0\x4B", 0x0071E2}, {"\xA0\x4C", 0x0071E3}, {"\xA0\x4D", 0x0071E4}, {"\xA0\x4E", 0x0071E6}, 
{"\xA0\x4F", 0x0071E8}, {"\xA0\x50", 0x0071E9}, {"\xA0\x51", 0x0071EA}, {"\xA0\x52", 0x0071EB}, 
{"\xA0\x53", 0x0071EC}, {"\xA0\x54", 0x0071ED}, {"\xA0\x55", 0x0071EF}, {"\xA0\x56", 0x0071F0}, 
{"\xA0\x57", 0x0071F1}, {"\xA0\x58", 0x0071F2}, {"\xA0\x59", 0x0071F3}, {"\xA0\x5A", 0x0071F4}, 
{"\xA0\x5B", 0x0071F5}, {"\xA0\x5C", 0x0071F6}, {"\xA0\x5D", 0x0071F7}, {"\xA0\x5E", 0x0071F8}, 
{"\xA0\x5F", 0x0071FA}, {"\xA0\x60", 0x0071FB}, {"\xA0\x61", 0x0071FC}, {"\xA0\x62", 0x0071FD}, 
{"\xA0\x63", 0x0071FE}, {"\xA0\x64", 0x0071FF}, {"\xA0\x65", 0x007200}, {"\xA0\x66", 0x007201}, 
{"\xA0\x67", 0x007202}, {"\xA0\x68", 0x007203}, {"\xA0\x69", 0x007204}, {"\xA0\x6A", 0x007205}, 
{"\xA0\x6B", 0x007207}, {"\xA0\x6C", 0x007208}, {"\xA0\x6D", 0x007209}, {"\xA0\x6E", 0x00720A}, 
{"\xA0\x6F", 0x00720B}, {"\xA0\x70", 0x00720C}, {"\xA0\x71", 0x00720D}, {"\xA0\x72", 0x00720E}, 
{"\xA0\x73", 0x00720F}, {"\xA0\x74", 0x007210}, {"\xA0\x75", 0x007211}, {"\xA0\x76", 0x007212}, 
{"\xA0\x77", 0x007213}, {"\xA0\x78", 0x007214}, {"\xA0\x79", 0x007215}, {"\xA0\x7A", 0x007216}, 
{"\xA0\x7B", 0x007217}, {"\xA0\x7C", 0x007218}, {"\xA0\x7D", 0x007219}, {"\xA0\x7E", 0x00721A}, 
{"\xA0\x80", 0x00721B}, {"\xA0\x81", 0x00721C}, {"\xA0\x82", 0x00721E}, {"\xA0\x83", 0x00721F}, 
{"\xA0\x84", 0x007220}, {"\xA0\x85", 0x007221}, {"\xA0\x86", 0x007222}, {"\xA0\x87", 0x007223}, 
{"\xA0\x88", 0x007224}, {"\xA0\x89", 0x007225}, {"\xA0\x8A", 0x007226}, {"\xA0\x8B", 0x007227}, 
{"\xA0\x8C", 0x007229}, {"\xA0\x8D", 0x00722B}, {"\xA0\x8E", 0x00722D}, {"\xA0\x8F", 0x00722E}, 
{"\xA0\x90", 0x00722F}, {"\xA0\x91", 0x007232}, {"\xA0\x92", 0x007233}, {"\xA0\x93", 0x007234}, 
{"\xA0\x94", 0x00723A}, {"\xA0\x95", 0x00723C}, {"\xA0\x96", 0x00723E}, {"\xA0\x97", 0x007240}, 
{"\xA0\x98", 0x007241}, {"\xA0\x99", 0x007242}, {"\xA0\x9A", 0x007243}, {"\xA0\x9B", 0x007244}, 
{"\xA0\x9C", 0x007245}, {"\xA0\x9D", 0x007246}, {"\xA0\x9E", 0x007249}, {"\xA0\x9F", 0x00724A}, 
{"\xA0\xA0", 0x00724B}, {"\xA0\xA1", 0x00724E}, {"\xA0\xA2", 0x00724F}, {"\xA0\xA3", 0x007250}, 
{"\xA0\xA4", 0x007251}, {"\xA0\xA5", 0x007253}, {"\xA0\xA6", 0x007254}, {"\xA0\xA7", 0x007255}, 
{"\xA0\xA8", 0x007257}, {"\xA0\xA9", 0x007258}, {"\xA0\xAA", 0x00725A}, {"\xA0\xAB", 0x00725C}, 
{"\xA0\xAC", 0x00725E}, {"\xA0\xAD", 0x007260}, {"\xA0\xAE", 0x007263}, {"\xA0\xAF", 0x007264}, 
{"\xA0\xB0", 0x007265}, {"\xA0\xB1", 0x007268}, {"\xA0\xB2", 0x00726A}, {"\xA0\xB3", 0x00726B}, 
{"\xA0\xB4", 0x00726C}, {"\xA0\xB5", 0x00726D}, {"\xA0\xB6", 0x007270}, {"\xA0\xB7", 0x007271}, 
{"\xA0\xB8", 0x007273}, {"\xA0\xB9", 0x007274}, {"\xA0\xBA", 0x007276}, {"\xA0\xBB", 0x007277}, 
{"\xA0\xBC", 0x007278}, {"\xA0\xBD", 0x00727B}, {"\xA0\xBE", 0x00727C}, {"\xA0\xBF", 0x00727D}, 

};
 for(size_t i=1; i<sizeof(db2bmp_17_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_17_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_18_gb18030_init()
{
static MB2UData db2bmp_18_gb18030 [] = { {"", 0}, 
{"\xA0\xC0", 0x007282}, {"\xA0\xC1", 0x007283}, {"\xA0\xC2", 0x007285}, {"\xA0\xC3", 0x007286}, 
{"\xA0\xC4", 0x007287}, {"\xA0\xC5", 0x007288}, {"\xA0\xC6", 0x007289}, {"\xA0\xC7", 0x00728C}, 
{"\xA0\xC8", 0x00728E}, {"\xA0\xC9", 0x007290}, {"\xA0\xCA", 0x007291}, {"\xA0\xCB", 0x007293}, 
{"\xA0\xCC", 0x007294}, {"\xA0\xCD", 0x007295}, {"\xA0\xCE", 0x007296}, {"\xA0\xCF", 0x007297}, 
{"\xA0\xD0", 0x007298}, {"\xA0\xD1", 0x007299}, {"\xA0\xD2", 0x00729A}, {"\xA0\xD3", 0x00729B}, 
{"\xA0\xD4", 0x00729C}, {"\xA0\xD5", 0x00729D}, {"\xA0\xD6", 0x00729E}, {"\xA0\xD7", 0x0072A0}, 
{"\xA0\xD8", 0x0072A1}, {"\xA0\xD9", 0x0072A2}, {"\xA0\xDA", 0x0072A3}, {"\xA0\xDB", 0x0072A4}, 
{"\xA0\xDC", 0x0072A5}, {"\xA0\xDD", 0x0072A6}, {"\xA0\xDE", 0x0072A7}, {"\xA0\xDF", 0x0072A8}, 
{"\xA0\xE0", 0x0072A9}, {"\xA0\xE1", 0x0072AA}, {"\xA0\xE2", 0x0072AB}, {"\xA0\xE3", 0x0072AE}, 
{"\xA0\xE4", 0x0072B1}, {"\xA0\xE5", 0x0072B2}, {"\xA0\xE6", 0x0072B3}, {"\xA0\xE7", 0x0072B5}, 
{"\xA0\xE8", 0x0072BA}, {"\xA0\xE9", 0x0072BB}, {"\xA0\xEA", 0x0072BC}, {"\xA0\xEB", 0x0072BD}, 
{"\xA0\xEC", 0x0072BE}, {"\xA0\xED", 0x0072BF}, {"\xA0\xEE", 0x0072C0}, {"\xA0\xEF", 0x0072C5}, 
{"\xA0\xF0", 0x0072C6}, {"\xA0\xF1", 0x0072C7}, {"\xA0\xF2", 0x0072C9}, {"\xA0\xF3", 0x0072CA}, 
{"\xA0\xF4", 0x0072CB}, {"\xA0\xF5", 0x0072CC}, {"\xA0\xF6", 0x0072CF}, {"\xA0\xF7", 0x0072D1}, 
{"\xA0\xF8", 0x0072D3}, {"\xA0\xF9", 0x0072D4}, {"\xA0\xFA", 0x0072D5}, {"\xA0\xFB", 0x0072D6}, 
{"\xA0\xFC", 0x0072D8}, {"\xA0\xFD", 0x0072DA}, {"\xA0\xFE", 0x0072DB}, {"\xA1\x40", 0x00E4C6}, 
{"\xA1\x41", 0x00E4C7}, {"\xA1\x42", 0x00E4C8}, {"\xA1\x43", 0x00E4C9}, {"\xA1\x44", 0x00E4CA}, 
{"\xA1\x45", 0x00E4CB}, {"\xA1\x46", 0x00E4CC}, {"\xA1\x47", 0x00E4CD}, {"\xA1\x48", 0x00E4CE}, 
{"\xA1\x49", 0x00E4CF}, {"\xA1\x4A", 0x00E4D0}, {"\xA1\x4B", 0x00E4D1}, {"\xA1\x4C", 0x00E4D2}, 
{"\xA1\x4D", 0x00E4D3}, {"\xA1\x4E", 0x00E4D4}, {"\xA1\x4F", 0x00E4D5}, {"\xA1\x50", 0x00E4D6}, 
{"\xA1\x51", 0x00E4D7}, {"\xA1\x52", 0x00E4D8}, {"\xA1\x53", 0x00E4D9}, {"\xA1\x54", 0x00E4DA}, 
{"\xA1\x55", 0x00E4DB}, {"\xA1\x56", 0x00E4DC}, {"\xA1\x57", 0x00E4DD}, {"\xA1\x58", 0x00E4DE}, 
{"\xA1\x59", 0x00E4DF}, {"\xA1\x5A", 0x00E4E0}, {"\xA1\x5B", 0x00E4E1}, {"\xA1\x5C", 0x00E4E2}, 
{"\xA1\x5D", 0x00E4E3}, {"\xA1\x5E", 0x00E4E4}, {"\xA1\x5F", 0x00E4E5}, {"\xA1\x60", 0x00E4E6}, 
{"\xA1\x61", 0x00E4E7}, {"\xA1\x62", 0x00E4E8}, {"\xA1\x63", 0x00E4E9}, {"\xA1\x64", 0x00E4EA}, 
{"\xA1\x65", 0x00E4EB}, {"\xA1\x66", 0x00E4EC}, {"\xA1\x67", 0x00E4ED}, {"\xA1\x68", 0x00E4EE}, 
{"\xA1\x69", 0x00E4EF}, {"\xA1\x6A", 0x00E4F0}, {"\xA1\x6B", 0x00E4F1}, {"\xA1\x6C", 0x00E4F2}, 
{"\xA1\x6D", 0x00E4F3}, {"\xA1\x6E", 0x00E4F4}, {"\xA1\x6F", 0x00E4F5}, {"\xA1\x70", 0x00E4F6}, 
{"\xA1\x71", 0x00E4F7}, {"\xA1\x72", 0x00E4F8}, {"\xA1\x73", 0x00E4F9}, {"\xA1\x74", 0x00E4FA}, 
{"\xA1\x75", 0x00E4FB}, {"\xA1\x76", 0x00E4FC}, {"\xA1\x77", 0x00E4FD}, {"\xA1\x78", 0x00E4FE}, 
{"\xA1\x79", 0x00E4FF}, {"\xA1\x7A", 0x00E500}, {"\xA1\x7B", 0x00E501}, {"\xA1\x7C", 0x00E502}, 
{"\xA1\x7D", 0x00E503}, {"\xA1\x7E", 0x00E504}, {"\xA1\x80", 0x00E505}, {"\xA1\x81", 0x00E506}, 
{"\xA1\x82", 0x00E507}, {"\xA1\x83", 0x00E508}, {"\xA1\x84", 0x00E509}, {"\xA1\x85", 0x00E50A}, 
{"\xA1\x86", 0x00E50B}, {"\xA1\x87", 0x00E50C}, {"\xA1\x88", 0x00E50D}, {"\xA1\x89", 0x00E50E}, 
{"\xA1\x8A", 0x00E50F}, {"\xA1\x8B", 0x00E510}, {"\xA1\x8C", 0x00E511}, {"\xA1\x8D", 0x00E512}, 
{"\xA1\x8E", 0x00E513}, {"\xA1\x8F", 0x00E514}, {"\xA1\x90", 0x00E515}, {"\xA1\x91", 0x00E516}, 
{"\xA1\x92", 0x00E517}, {"\xA1\x93", 0x00E518}, {"\xA1\x94", 0x00E519}, {"\xA1\x95", 0x00E51A}, 
{"\xA1\x96", 0x00E51B}, {"\xA1\x97", 0x00E51C}, {"\xA1\x98", 0x00E51D}, {"\xA1\x99", 0x00E51E}, 
{"\xA1\x9A", 0x00E51F}, {"\xA1\x9B", 0x00E520}, {"\xA1\x9C", 0x00E521}, {"\xA1\x9D", 0x00E522}, 
{"\xA1\x9E", 0x00E523}, {"\xA1\x9F", 0x00E524}, {"\xA1\xA0", 0x00E525}, {"\xA1\xA1", 0x003000}, 
{"\xA1\xA2", 0x003001}, {"\xA1\xA3", 0x003002}, {"\xA1\xA4", 0x0000B7}, {"\xA1\xA5", 0x0002C9}, 
{"\xA1\xA6", 0x0002C7}, {"\xA1\xA7", 0x0000A8}, {"\xA1\xA8", 0x003003}, {"\xA1\xA9", 0x003005}, 
{"\xA1\xAA", 0x002014}, {"\xA1\xAB", 0x00FF5E}, {"\xA1\xAC", 0x002016}, {"\xA1\xAD", 0x002026}, 
{"\xA1\xAE", 0x002018}, {"\xA1\xAF", 0x002019}, {"\xA1\xB0", 0x00201C}, {"\xA1\xB1", 0x00201D}, 
{"\xA1\xB2", 0x003014}, {"\xA1\xB3", 0x003015}, {"\xA1\xB4", 0x003008}, {"\xA1\xB5", 0x003009}, 
{"\xA1\xB6", 0x00300A}, {"\xA1\xB7", 0x00300B}, {"\xA1\xB8", 0x00300C}, {"\xA1\xB9", 0x00300D}, 
{"\xA1\xBA", 0x00300E}, {"\xA1\xBB", 0x00300F}, {"\xA1\xBC", 0x003016}, {"\xA1\xBD", 0x003017}, 
{"\xA1\xBE", 0x003010}, {"\xA1\xBF", 0x003011}, {"\xA1\xC0", 0x0000B1}, {"\xA1\xC1", 0x0000D7}, 
{"\xA1\xC2", 0x0000F7}, {"\xA1\xC3", 0x002236}, {"\xA1\xC4", 0x002227}, {"\xA1\xC5", 0x002228}, 
{"\xA1\xC6", 0x002211}, {"\xA1\xC7", 0x00220F}, {"\xA1\xC8", 0x00222A}, {"\xA1\xC9", 0x002229}, 
{"\xA1\xCA", 0x002208}, {"\xA1\xCB", 0x002237}, {"\xA1\xCC", 0x00221A}, {"\xA1\xCD", 0x0022A5}, 
{"\xA1\xCE", 0x002225}, {"\xA1\xCF", 0x002220}, {"\xA1\xD0", 0x002312}, {"\xA1\xD1", 0x002299}, 
{"\xA1\xD2", 0x00222B}, {"\xA1\xD3", 0x00222E}, {"\xA1\xD4", 0x002261}, {"\xA1\xD5", 0x00224C}, 
{"\xA1\xD6", 0x002248}, {"\xA1\xD7", 0x00223D}, {"\xA1\xD8", 0x00221D}, {"\xA1\xD9", 0x002260}, 
{"\xA1\xDA", 0x00226E}, {"\xA1\xDB", 0x00226F}, {"\xA1\xDC", 0x002264}, {"\xA1\xDD", 0x002265}, 
{"\xA1\xDE", 0x00221E}, {"\xA1\xDF", 0x002235}, {"\xA1\xE0", 0x002234}, {"\xA1\xE1", 0x002642}, 
{"\xA1\xE2", 0x002640}, {"\xA1\xE3", 0x0000B0}, {"\xA1\xE4", 0x002032}, {"\xA1\xE5", 0x002033}, 
{"\xA1\xE6", 0x002103}, {"\xA1\xE7", 0x00FF04}, {"\xA1\xE8", 0x0000A4}, {"\xA1\xE9", 0x00FFE0}, 
{"\xA1\xEA", 0x00FFE1}, {"\xA1\xEB", 0x002030}, {"\xA1\xEC", 0x0000A7}, {"\xA1\xED", 0x002116}, 
{"\xA1\xEE", 0x002606}, {"\xA1\xEF", 0x002605}, {"\xA1\xF0", 0x0025CB}, {"\xA1\xF1", 0x0025CF}, 
{"\xA1\xF2", 0x0025CE}, {"\xA1\xF3", 0x0025C7}, {"\xA1\xF4", 0x0025C6}, {"\xA1\xF5", 0x0025A1}, 
{"\xA1\xF6", 0x0025A0}, {"\xA1\xF7", 0x0025B3}, {"\xA1\xF8", 0x0025B2}, {"\xA1\xF9", 0x00203B}, 
{"\xA1\xFA", 0x002192}, {"\xA1\xFB", 0x002190}, {"\xA1\xFC", 0x002191}, {"\xA1\xFD", 0x002193}, 
{"\xA1\xFE", 0x003013}, {"\xA2\x40", 0x00E526}, {"\xA2\x41", 0x00E527}, {"\xA2\x42", 0x00E528}, 

};
 for(size_t i=1; i<sizeof(db2bmp_18_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_18_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_19_gb18030_init()
{
static MB2UData db2bmp_19_gb18030 [] = { {"", 0}, 
{"\xA2\x43", 0x00E529}, {"\xA2\x44", 0x00E52A}, {"\xA2\x45", 0x00E52B}, {"\xA2\x46", 0x00E52C}, 
{"\xA2\x47", 0x00E52D}, {"\xA2\x48", 0x00E52E}, {"\xA2\x49", 0x00E52F}, {"\xA2\x4A", 0x00E530}, 
{"\xA2\x4B", 0x00E531}, {"\xA2\x4C", 0x00E532}, {"\xA2\x4D", 0x00E533}, {"\xA2\x4E", 0x00E534}, 
{"\xA2\x4F", 0x00E535}, {"\xA2\x50", 0x00E536}, {"\xA2\x51", 0x00E537}, {"\xA2\x52", 0x00E538}, 
{"\xA2\x53", 0x00E539}, {"\xA2\x54", 0x00E53A}, {"\xA2\x55", 0x00E53B}, {"\xA2\x56", 0x00E53C}, 
{"\xA2\x57", 0x00E53D}, {"\xA2\x58", 0x00E53E}, {"\xA2\x59", 0x00E53F}, {"\xA2\x5A", 0x00E540}, 
{"\xA2\x5B", 0x00E541}, {"\xA2\x5C", 0x00E542}, {"\xA2\x5D", 0x00E543}, {"\xA2\x5E", 0x00E544}, 
{"\xA2\x5F", 0x00E545}, {"\xA2\x60", 0x00E546}, {"\xA2\x61", 0x00E547}, {"\xA2\x62", 0x00E548}, 
{"\xA2\x63", 0x00E549}, {"\xA2\x64", 0x00E54A}, {"\xA2\x65", 0x00E54B}, {"\xA2\x66", 0x00E54C}, 
{"\xA2\x67", 0x00E54D}, {"\xA2\x68", 0x00E54E}, {"\xA2\x69", 0x00E54F}, {"\xA2\x6A", 0x00E550}, 
{"\xA2\x6B", 0x00E551}, {"\xA2\x6C", 0x00E552}, {"\xA2\x6D", 0x00E553}, {"\xA2\x6E", 0x00E554}, 
{"\xA2\x6F", 0x00E555}, {"\xA2\x70", 0x00E556}, {"\xA2\x71", 0x00E557}, {"\xA2\x72", 0x00E558}, 
{"\xA2\x73", 0x00E559}, {"\xA2\x74", 0x00E55A}, {"\xA2\x75", 0x00E55B}, {"\xA2\x76", 0x00E55C}, 
{"\xA2\x77", 0x00E55D}, {"\xA2\x78", 0x00E55E}, {"\xA2\x79", 0x00E55F}, {"\xA2\x7A", 0x00E560}, 
{"\xA2\x7B", 0x00E561}, {"\xA2\x7C", 0x00E562}, {"\xA2\x7D", 0x00E563}, {"\xA2\x7E", 0x00E564}, 
{"\xA2\x80", 0x00E565}, {"\xA2\x81", 0x00E566}, {"\xA2\x82", 0x00E567}, {"\xA2\x83", 0x00E568}, 
{"\xA2\x84", 0x00E569}, {"\xA2\x85", 0x00E56A}, {"\xA2\x86", 0x00E56B}, {"\xA2\x87", 0x00E56C}, 
{"\xA2\x88", 0x00E56D}, {"\xA2\x89", 0x00E56E}, {"\xA2\x8A", 0x00E56F}, {"\xA2\x8B", 0x00E570}, 
{"\xA2\x8C", 0x00E571}, {"\xA2\x8D", 0x00E572}, {"\xA2\x8E", 0x00E573}, {"\xA2\x8F", 0x00E574}, 
{"\xA2\x90", 0x00E575}, {"\xA2\x91", 0x00E576}, {"\xA2\x92", 0x00E577}, {"\xA2\x93", 0x00E578}, 
{"\xA2\x94", 0x00E579}, {"\xA2\x95", 0x00E57A}, {"\xA2\x96", 0x00E57B}, {"\xA2\x97", 0x00E57C}, 
{"\xA2\x98", 0x00E57D}, {"\xA2\x99", 0x00E57E}, {"\xA2\x9A", 0x00E57F}, {"\xA2\x9B", 0x00E580}, 
{"\xA2\x9C", 0x00E581}, {"\xA2\x9D", 0x00E582}, {"\xA2\x9E", 0x00E583}, {"\xA2\x9F", 0x00E584}, 
{"\xA2\xA0", 0x00E585}, {"\xA2\xA1", 0x002170}, {"\xA2\xA2", 0x002171}, {"\xA2\xA3", 0x002172}, 
{"\xA2\xA4", 0x002173}, {"\xA2\xA5", 0x002174}, {"\xA2\xA6", 0x002175}, {"\xA2\xA7", 0x002176}, 
{"\xA2\xA8", 0x002177}, {"\xA2\xA9", 0x002178}, {"\xA2\xAA", 0x002179}, {"\xA2\xAB", 0x00E766}, 
{"\xA2\xAC", 0x00E767}, {"\xA2\xAD", 0x00E768}, {"\xA2\xAE", 0x00E769}, {"\xA2\xAF", 0x00E76A}, 
{"\xA2\xB0", 0x00E76B}, {"\xA2\xB1", 0x002488}, {"\xA2\xB2", 0x002489}, {"\xA2\xB3", 0x00248A}, 
{"\xA2\xB4", 0x00248B}, {"\xA2\xB5", 0x00248C}, {"\xA2\xB6", 0x00248D}, {"\xA2\xB7", 0x00248E}, 
{"\xA2\xB8", 0x00248F}, {"\xA2\xB9", 0x002490}, {"\xA2\xBA", 0x002491}, {"\xA2\xBB", 0x002492}, 
{"\xA2\xBC", 0x002493}, {"\xA2\xBD", 0x002494}, {"\xA2\xBE", 0x002495}, {"\xA2\xBF", 0x002496}, 
{"\xA2\xC0", 0x002497}, {"\xA2\xC1", 0x002498}, {"\xA2\xC2", 0x002499}, {"\xA2\xC3", 0x00249A}, 
{"\xA2\xC4", 0x00249B}, {"\xA2\xC5", 0x002474}, {"\xA2\xC6", 0x002475}, {"\xA2\xC7", 0x002476}, 
{"\xA2\xC8", 0x002477}, {"\xA2\xC9", 0x002478}, {"\xA2\xCA", 0x002479}, {"\xA2\xCB", 0x00247A}, 
{"\xA2\xCC", 0x00247B}, {"\xA2\xCD", 0x00247C}, {"\xA2\xCE", 0x00247D}, {"\xA2\xCF", 0x00247E}, 
{"\xA2\xD0", 0x00247F}, {"\xA2\xD1", 0x002480}, {"\xA2\xD2", 0x002481}, {"\xA2\xD3", 0x002482}, 
{"\xA2\xD4", 0x002483}, {"\xA2\xD5", 0x002484}, {"\xA2\xD6", 0x002485}, {"\xA2\xD7", 0x002486}, 
{"\xA2\xD8", 0x002487}, {"\xA2\xD9", 0x002460}, {"\xA2\xDA", 0x002461}, {"\xA2\xDB", 0x002462}, 
{"\xA2\xDC", 0x002463}, {"\xA2\xDD", 0x002464}, {"\xA2\xDE", 0x002465}, {"\xA2\xDF", 0x002466}, 
{"\xA2\xE0", 0x002467}, {"\xA2\xE1", 0x002468}, {"\xA2\xE2", 0x002469}, {"\xA2\xE3", 0x0020AC}, 
{"\xA2\xE4", 0x00E76D}, {"\xA2\xE5", 0x003220}, {"\xA2\xE6", 0x003221}, {"\xA2\xE7", 0x003222}, 
{"\xA2\xE8", 0x003223}, {"\xA2\xE9", 0x003224}, {"\xA2\xEA", 0x003225}, {"\xA2\xEB", 0x003226}, 
{"\xA2\xEC", 0x003227}, {"\xA2\xED", 0x003228}, {"\xA2\xEE", 0x003229}, {"\xA2\xEF", 0x00E76E}, 
{"\xA2\xF0", 0x00E76F}, {"\xA2\xF1", 0x002160}, {"\xA2\xF2", 0x002161}, {"\xA2\xF3", 0x002162}, 
{"\xA2\xF4", 0x002163}, {"\xA2\xF5", 0x002164}, {"\xA2\xF6", 0x002165}, {"\xA2\xF7", 0x002166}, 
{"\xA2\xF8", 0x002167}, {"\xA2\xF9", 0x002168}, {"\xA2\xFA", 0x002169}, {"\xA2\xFB", 0x00216A}, 
{"\xA2\xFC", 0x00216B}, {"\xA2\xFD", 0x00E770}, {"\xA2\xFE", 0x00E771}, {"\xA3\x40", 0x00E586}, 
{"\xA3\x41", 0x00E587}, {"\xA3\x42", 0x00E588}, {"\xA3\x43", 0x00E589}, {"\xA3\x44", 0x00E58A}, 
{"\xA3\x45", 0x00E58B}, {"\xA3\x46", 0x00E58C}, {"\xA3\x47", 0x00E58D}, {"\xA3\x48", 0x00E58E}, 
{"\xA3\x49", 0x00E58F}, {"\xA3\x4A", 0x00E590}, {"\xA3\x4B", 0x00E591}, {"\xA3\x4C", 0x00E592}, 
{"\xA3\x4D", 0x00E593}, {"\xA3\x4E", 0x00E594}, {"\xA3\x4F", 0x00E595}, {"\xA3\x50", 0x00E596}, 
{"\xA3\x51", 0x00E597}, {"\xA3\x52", 0x00E598}, {"\xA3\x53", 0x00E599}, {"\xA3\x54", 0x00E59A}, 
{"\xA3\x55", 0x00E59B}, {"\xA3\x56", 0x00E59C}, {"\xA3\x57", 0x00E59D}, {"\xA3\x58", 0x00E59E}, 
{"\xA3\x59", 0x00E59F}, {"\xA3\x5A", 0x00E5A0}, {"\xA3\x5B", 0x00E5A1}, {"\xA3\x5C", 0x00E5A2}, 
{"\xA3\x5D", 0x00E5A3}, {"\xA3\x5E", 0x00E5A4}, {"\xA3\x5F", 0x00E5A5}, {"\xA3\x60", 0x00E5A6}, 
{"\xA3\x61", 0x00E5A7}, {"\xA3\x62", 0x00E5A8}, {"\xA3\x63", 0x00E5A9}, {"\xA3\x64", 0x00E5AA}, 
{"\xA3\x65", 0x00E5AB}, {"\xA3\x66", 0x00E5AC}, {"\xA3\x67", 0x00E5AD}, {"\xA3\x68", 0x00E5AE}, 
{"\xA3\x69", 0x00E5AF}, {"\xA3\x6A", 0x00E5B0}, {"\xA3\x6B", 0x00E5B1}, {"\xA3\x6C", 0x00E5B2}, 
{"\xA3\x6D", 0x00E5B3}, {"\xA3\x6E", 0x00E5B4}, {"\xA3\x6F", 0x00E5B5}, {"\xA3\x70", 0x00E5B6}, 
{"\xA3\x71", 0x00E5B7}, {"\xA3\x72", 0x00E5B8}, {"\xA3\x73", 0x00E5B9}, {"\xA3\x74", 0x00E5BA}, 
{"\xA3\x75", 0x00E5BB}, {"\xA3\x76", 0x00E5BC}, {"\xA3\x77", 0x00E5BD}, {"\xA3\x78", 0x00E5BE}, 
{"\xA3\x79", 0x00E5BF}, {"\xA3\x7A", 0x00E5C0}, {"\xA3\x7B", 0x00E5C1}, {"\xA3\x7C", 0x00E5C2}, 
{"\xA3\x7D", 0x00E5C3}, {"\xA3\x7E", 0x00E5C4}, {"\xA3\x80", 0x00E5C5}, {"\xA3\x81", 0x00E5C6}, 
{"\xA3\x82", 0x00E5C7}, {"\xA3\x83", 0x00E5C8}, {"\xA3\x84", 0x00E5C9}, {"\xA3\x85", 0x00E5CA}, 

};
 for(size_t i=1; i<sizeof(db2bmp_19_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_19_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_1a_gb18030_init()
{
static MB2UData db2bmp_1a_gb18030 [] = { {"", 0}, 
{"\xA3\x86", 0x00E5CB}, {"\xA3\x87", 0x00E5CC}, {"\xA3\x88", 0x00E5CD}, {"\xA3\x89", 0x00E5CE}, 
{"\xA3\x8A", 0x00E5CF}, {"\xA3\x8B", 0x00E5D0}, {"\xA3\x8C", 0x00E5D1}, {"\xA3\x8D", 0x00E5D2}, 
{"\xA3\x8E", 0x00E5D3}, {"\xA3\x8F", 0x00E5D4}, {"\xA3\x90", 0x00E5D5}, {"\xA3\x91", 0x00E5D6}, 
{"\xA3\x92", 0x00E5D7}, {"\xA3\x93", 0x00E5D8}, {"\xA3\x94", 0x00E5D9}, {"\xA3\x95", 0x00E5DA}, 
{"\xA3\x96", 0x00E5DB}, {"\xA3\x97", 0x00E5DC}, {"\xA3\x98", 0x00E5DD}, {"\xA3\x99", 0x00E5DE}, 
{"\xA3\x9A", 0x00E5DF}, {"\xA3\x9B", 0x00E5E0}, {"\xA3\x9C", 0x00E5E1}, {"\xA3\x9D", 0x00E5E2}, 
{"\xA3\x9E", 0x00E5E3}, {"\xA3\x9F", 0x00E5E4}, {"\xA3\xA0", 0x00E5E5}, {"\xA3\xA1", 0x00FF01}, 
{"\xA3\xA2", 0x00FF02}, {"\xA3\xA3", 0x00FF03}, {"\xA3\xA4", 0x00FFE5}, {"\xA3\xA5", 0x00FF05}, 
{"\xA3\xA6", 0x00FF06}, {"\xA3\xA7", 0x00FF07}, {"\xA3\xA8", 0x00FF08}, {"\xA3\xA9", 0x00FF09}, 
{"\xA3\xAA", 0x00FF0A}, {"\xA3\xAB", 0x00FF0B}, {"\xA3\xAC", 0x00FF0C}, {"\xA3\xAD", 0x00FF0D}, 
{"\xA3\xAE", 0x00FF0E}, {"\xA3\xAF", 0x00FF0F}, {"\xA3\xB0", 0x00FF10}, {"\xA3\xB1", 0x00FF11}, 
{"\xA3\xB2", 0x00FF12}, {"\xA3\xB3", 0x00FF13}, {"\xA3\xB4", 0x00FF14}, {"\xA3\xB5", 0x00FF15}, 
{"\xA3\xB6", 0x00FF16}, {"\xA3\xB7", 0x00FF17}, {"\xA3\xB8", 0x00FF18}, {"\xA3\xB9", 0x00FF19}, 
{"\xA3\xBA", 0x00FF1A}, {"\xA3\xBB", 0x00FF1B}, {"\xA3\xBC", 0x00FF1C}, {"\xA3\xBD", 0x00FF1D}, 
{"\xA3\xBE", 0x00FF1E}, {"\xA3\xBF", 0x00FF1F}, {"\xA3\xC0", 0x00FF20}, {"\xA3\xC1", 0x00FF21}, 
{"\xA3\xC2", 0x00FF22}, {"\xA3\xC3", 0x00FF23}, {"\xA3\xC4", 0x00FF24}, {"\xA3\xC5", 0x00FF25}, 
{"\xA3\xC6", 0x00FF26}, {"\xA3\xC7", 0x00FF27}, {"\xA3\xC8", 0x00FF28}, {"\xA3\xC9", 0x00FF29}, 
{"\xA3\xCA", 0x00FF2A}, {"\xA3\xCB", 0x00FF2B}, {"\xA3\xCC", 0x00FF2C}, {"\xA3\xCD", 0x00FF2D}, 
{"\xA3\xCE", 0x00FF2E}, {"\xA3\xCF", 0x00FF2F}, {"\xA3\xD0", 0x00FF30}, {"\xA3\xD1", 0x00FF31}, 
{"\xA3\xD2", 0x00FF32}, {"\xA3\xD3", 0x00FF33}, {"\xA3\xD4", 0x00FF34}, {"\xA3\xD5", 0x00FF35}, 
{"\xA3\xD6", 0x00FF36}, {"\xA3\xD7", 0x00FF37}, {"\xA3\xD8", 0x00FF38}, {"\xA3\xD9", 0x00FF39}, 
{"\xA3\xDA", 0x00FF3A}, {"\xA3\xDB", 0x00FF3B}, {"\xA3\xDC", 0x00FF3C}, {"\xA3\xDD", 0x00FF3D}, 
{"\xA3\xDE", 0x00FF3E}, {"\xA3\xDF", 0x00FF3F}, {"\xA3\xE0", 0x00FF40}, {"\xA3\xE1", 0x00FF41}, 
{"\xA3\xE2", 0x00FF42}, {"\xA3\xE3", 0x00FF43}, {"\xA3\xE4", 0x00FF44}, {"\xA3\xE5", 0x00FF45}, 
{"\xA3\xE6", 0x00FF46}, {"\xA3\xE7", 0x00FF47}, {"\xA3\xE8", 0x00FF48}, {"\xA3\xE9", 0x00FF49}, 
{"\xA3\xEA", 0x00FF4A}, {"\xA3\xEB", 0x00FF4B}, {"\xA3\xEC", 0x00FF4C}, {"\xA3\xED", 0x00FF4D}, 
{"\xA3\xEE", 0x00FF4E}, {"\xA3\xEF", 0x00FF4F}, {"\xA3\xF0", 0x00FF50}, {"\xA3\xF1", 0x00FF51}, 
{"\xA3\xF2", 0x00FF52}, {"\xA3\xF3", 0x00FF53}, {"\xA3\xF4", 0x00FF54}, {"\xA3\xF5", 0x00FF55}, 
{"\xA3\xF6", 0x00FF56}, {"\xA3\xF7", 0x00FF57}, {"\xA3\xF8", 0x00FF58}, {"\xA3\xF9", 0x00FF59}, 
{"\xA3\xFA", 0x00FF5A}, {"\xA3\xFB", 0x00FF5B}, {"\xA3\xFC", 0x00FF5C}, {"\xA3\xFD", 0x00FF5D}, 
{"\xA3\xFE", 0x00FFE3}, {"\xA4\x40", 0x00E5E6}, {"\xA4\x41", 0x00E5E7}, {"\xA4\x42", 0x00E5E8}, 
{"\xA4\x43", 0x00E5E9}, {"\xA4\x44", 0x00E5EA}, {"\xA4\x45", 0x00E5EB}, {"\xA4\x46", 0x00E5EC}, 
{"\xA4\x47", 0x00E5ED}, {"\xA4\x48", 0x00E5EE}, {"\xA4\x49", 0x00E5EF}, {"\xA4\x4A", 0x00E5F0}, 
{"\xA4\x4B", 0x00E5F1}, {"\xA4\x4C", 0x00E5F2}, {"\xA4\x4D", 0x00E5F3}, {"\xA4\x4E", 0x00E5F4}, 
{"\xA4\x4F", 0x00E5F5}, {"\xA4\x50", 0x00E5F6}, {"\xA4\x51", 0x00E5F7}, {"\xA4\x52", 0x00E5F8}, 
{"\xA4\x53", 0x00E5F9}, {"\xA4\x54", 0x00E5FA}, {"\xA4\x55", 0x00E5FB}, {"\xA4\x56", 0x00E5FC}, 
{"\xA4\x57", 0x00E5FD}, {"\xA4\x58", 0x00E5FE}, {"\xA4\x59", 0x00E5FF}, {"\xA4\x5A", 0x00E600}, 
{"\xA4\x5B", 0x00E601}, {"\xA4\x5C", 0x00E602}, {"\xA4\x5D", 0x00E603}, {"\xA4\x5E", 0x00E604}, 
{"\xA4\x5F", 0x00E605}, {"\xA4\x60", 0x00E606}, {"\xA4\x61", 0x00E607}, {"\xA4\x62", 0x00E608}, 
{"\xA4\x63", 0x00E609}, {"\xA4\x64", 0x00E60A}, {"\xA4\x65", 0x00E60B}, {"\xA4\x66", 0x00E60C}, 
{"\xA4\x67", 0x00E60D}, {"\xA4\x68", 0x00E60E}, {"\xA4\x69", 0x00E60F}, {"\xA4\x6A", 0x00E610}, 
{"\xA4\x6B", 0x00E611}, {"\xA4\x6C", 0x00E612}, {"\xA4\x6D", 0x00E613}, {"\xA4\x6E", 0x00E614}, 
{"\xA4\x6F", 0x00E615}, {"\xA4\x70", 0x00E616}, {"\xA4\x71", 0x00E617}, {"\xA4\x72", 0x00E618}, 
{"\xA4\x73", 0x00E619}, {"\xA4\x74", 0x00E61A}, {"\xA4\x75", 0x00E61B}, {"\xA4\x76", 0x00E61C}, 
{"\xA4\x77", 0x00E61D}, {"\xA4\x78", 0x00E61E}, {"\xA4\x79", 0x00E61F}, {"\xA4\x7A", 0x00E620}, 
{"\xA4\x7B", 0x00E621}, {"\xA4\x7C", 0x00E622}, {"\xA4\x7D", 0x00E623}, {"\xA4\x7E", 0x00E624}, 
{"\xA4\x80", 0x00E625}, {"\xA4\x81", 0x00E626}, {"\xA4\x82", 0x00E627}, {"\xA4\x83", 0x00E628}, 
{"\xA4\x84", 0x00E629}, {"\xA4\x85", 0x00E62A}, {"\xA4\x86", 0x00E62B}, {"\xA4\x87", 0x00E62C}, 
{"\xA4\x88", 0x00E62D}, {"\xA4\x89", 0x00E62E}, {"\xA4\x8A", 0x00E62F}, {"\xA4\x8B", 0x00E630}, 
{"\xA4\x8C", 0x00E631}, {"\xA4\x8D", 0x00E632}, {"\xA4\x8E", 0x00E633}, {"\xA4\x8F", 0x00E634}, 
{"\xA4\x90", 0x00E635}, {"\xA4\x91", 0x00E636}, {"\xA4\x92", 0x00E637}, {"\xA4\x93", 0x00E638}, 
{"\xA4\x94", 0x00E639}, {"\xA4\x95", 0x00E63A}, {"\xA4\x96", 0x00E63B}, {"\xA4\x97", 0x00E63C}, 
{"\xA4\x98", 0x00E63D}, {"\xA4\x99", 0x00E63E}, {"\xA4\x9A", 0x00E63F}, {"\xA4\x9B", 0x00E640}, 
{"\xA4\x9C", 0x00E641}, {"\xA4\x9D", 0x00E642}, {"\xA4\x9E", 0x00E643}, {"\xA4\x9F", 0x00E644}, 
{"\xA4\xA0", 0x00E645}, {"\xA4\xA1", 0x003041}, {"\xA4\xA2", 0x003042}, {"\xA4\xA3", 0x003043}, 
{"\xA4\xA4", 0x003044}, {"\xA4\xA5", 0x003045}, {"\xA4\xA6", 0x003046}, {"\xA4\xA7", 0x003047}, 
{"\xA4\xA8", 0x003048}, {"\xA4\xA9", 0x003049}, {"\xA4\xAA", 0x00304A}, {"\xA4\xAB", 0x00304B}, 
{"\xA4\xAC", 0x00304C}, {"\xA4\xAD", 0x00304D}, {"\xA4\xAE", 0x00304E}, {"\xA4\xAF", 0x00304F}, 
{"\xA4\xB0", 0x003050}, {"\xA4\xB1", 0x003051}, {"\xA4\xB2", 0x003052}, {"\xA4\xB3", 0x003053}, 
{"\xA4\xB4", 0x003054}, {"\xA4\xB5", 0x003055}, {"\xA4\xB6", 0x003056}, {"\xA4\xB7", 0x003057}, 
{"\xA4\xB8", 0x003058}, {"\xA4\xB9", 0x003059}, {"\xA4\xBA", 0x00305A}, {"\xA4\xBB", 0x00305B}, 
{"\xA4\xBC", 0x00305C}, {"\xA4\xBD", 0x00305D}, {"\xA4\xBE", 0x00305E}, {"\xA4\xBF", 0x00305F}, 
{"\xA4\xC0", 0x003060}, {"\xA4\xC1", 0x003061}, {"\xA4\xC2", 0x003062}, {"\xA4\xC3", 0x003063}, 
{"\xA4\xC4", 0x003064}, {"\xA4\xC5", 0x003065}, {"\xA4\xC6", 0x003066}, {"\xA4\xC7", 0x003067}, 

};
 for(size_t i=1; i<sizeof(db2bmp_1a_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_1a_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_1b_gb18030_init()
{
static MB2UData db2bmp_1b_gb18030 [] = { {"", 0}, 
{"\xA4\xC8", 0x003068}, {"\xA4\xC9", 0x003069}, {"\xA4\xCA", 0x00306A}, {"\xA4\xCB", 0x00306B}, 
{"\xA4\xCC", 0x00306C}, {"\xA4\xCD", 0x00306D}, {"\xA4\xCE", 0x00306E}, {"\xA4\xCF", 0x00306F}, 
{"\xA4\xD0", 0x003070}, {"\xA4\xD1", 0x003071}, {"\xA4\xD2", 0x003072}, {"\xA4\xD3", 0x003073}, 
{"\xA4\xD4", 0x003074}, {"\xA4\xD5", 0x003075}, {"\xA4\xD6", 0x003076}, {"\xA4\xD7", 0x003077}, 
{"\xA4\xD8", 0x003078}, {"\xA4\xD9", 0x003079}, {"\xA4\xDA", 0x00307A}, {"\xA4\xDB", 0x00307B}, 
{"\xA4\xDC", 0x00307C}, {"\xA4\xDD", 0x00307D}, {"\xA4\xDE", 0x00307E}, {"\xA4\xDF", 0x00307F}, 
{"\xA4\xE0", 0x003080}, {"\xA4\xE1", 0x003081}, {"\xA4\xE2", 0x003082}, {"\xA4\xE3", 0x003083}, 
{"\xA4\xE4", 0x003084}, {"\xA4\xE5", 0x003085}, {"\xA4\xE6", 0x003086}, {"\xA4\xE7", 0x003087}, 
{"\xA4\xE8", 0x003088}, {"\xA4\xE9", 0x003089}, {"\xA4\xEA", 0x00308A}, {"\xA4\xEB", 0x00308B}, 
{"\xA4\xEC", 0x00308C}, {"\xA4\xED", 0x00308D}, {"\xA4\xEE", 0x00308E}, {"\xA4\xEF", 0x00308F}, 
{"\xA4\xF0", 0x003090}, {"\xA4\xF1", 0x003091}, {"\xA4\xF2", 0x003092}, {"\xA4\xF3", 0x003093}, 
{"\xA4\xF4", 0x00E772}, {"\xA4\xF5", 0x00E773}, {"\xA4\xF6", 0x00E774}, {"\xA4\xF7", 0x00E775}, 
{"\xA4\xF8", 0x00E776}, {"\xA4\xF9", 0x00E777}, {"\xA4\xFA", 0x00E778}, {"\xA4\xFB", 0x00E779}, 
{"\xA4\xFC", 0x00E77A}, {"\xA4\xFD", 0x00E77B}, {"\xA4\xFE", 0x00E77C}, {"\xA5\x40", 0x00E646}, 
{"\xA5\x41", 0x00E647}, {"\xA5\x42", 0x00E648}, {"\xA5\x43", 0x00E649}, {"\xA5\x44", 0x00E64A}, 
{"\xA5\x45", 0x00E64B}, {"\xA5\x46", 0x00E64C}, {"\xA5\x47", 0x00E64D}, {"\xA5\x48", 0x00E64E}, 
{"\xA5\x49", 0x00E64F}, {"\xA5\x4A", 0x00E650}, {"\xA5\x4B", 0x00E651}, {"\xA5\x4C", 0x00E652}, 
{"\xA5\x4D", 0x00E653}, {"\xA5\x4E", 0x00E654}, {"\xA5\x4F", 0x00E655}, {"\xA5\x50", 0x00E656}, 
{"\xA5\x51", 0x00E657}, {"\xA5\x52", 0x00E658}, {"\xA5\x53", 0x00E659}, {"\xA5\x54", 0x00E65A}, 
{"\xA5\x55", 0x00E65B}, {"\xA5\x56", 0x00E65C}, {"\xA5\x57", 0x00E65D}, {"\xA5\x58", 0x00E65E}, 
{"\xA5\x59", 0x00E65F}, {"\xA5\x5A", 0x00E660}, {"\xA5\x5B", 0x00E661}, {"\xA5\x5C", 0x00E662}, 
{"\xA5\x5D", 0x00E663}, {"\xA5\x5E", 0x00E664}, {"\xA5\x5F", 0x00E665}, {"\xA5\x60", 0x00E666}, 
{"\xA5\x61", 0x00E667}, {"\xA5\x62", 0x00E668}, {"\xA5\x63", 0x00E669}, {"\xA5\x64", 0x00E66A}, 
{"\xA5\x65", 0x00E66B}, {"\xA5\x66", 0x00E66C}, {"\xA5\x67", 0x00E66D}, {"\xA5\x68", 0x00E66E}, 
{"\xA5\x69", 0x00E66F}, {"\xA5\x6A", 0x00E670}, {"\xA5\x6B", 0x00E671}, {"\xA5\x6C", 0x00E672}, 
{"\xA5\x6D", 0x00E673}, {"\xA5\x6E", 0x00E674}, {"\xA5\x6F", 0x00E675}, {"\xA5\x70", 0x00E676}, 
{"\xA5\x71", 0x00E677}, {"\xA5\x72", 0x00E678}, {"\xA5\x73", 0x00E679}, {"\xA5\x74", 0x00E67A}, 
{"\xA5\x75", 0x00E67B}, {"\xA5\x76", 0x00E67C}, {"\xA5\x77", 0x00E67D}, {"\xA5\x78", 0x00E67E}, 
{"\xA5\x79", 0x00E67F}, {"\xA5\x7A", 0x00E680}, {"\xA5\x7B", 0x00E681}, {"\xA5\x7C", 0x00E682}, 
{"\xA5\x7D", 0x00E683}, {"\xA5\x7E", 0x00E684}, {"\xA5\x80", 0x00E685}, {"\xA5\x81", 0x00E686}, 
{"\xA5\x82", 0x00E687}, {"\xA5\x83", 0x00E688}, {"\xA5\x84", 0x00E689}, {"\xA5\x85", 0x00E68A}, 
{"\xA5\x86", 0x00E68B}, {"\xA5\x87", 0x00E68C}, {"\xA5\x88", 0x00E68D}, {"\xA5\x89", 0x00E68E}, 
{"\xA5\x8A", 0x00E68F}, {"\xA5\x8B", 0x00E690}, {"\xA5\x8C", 0x00E691}, {"\xA5\x8D", 0x00E692}, 
{"\xA5\x8E", 0x00E693}, {"\xA5\x8F", 0x00E694}, {"\xA5\x90", 0x00E695}, {"\xA5\x91", 0x00E696}, 
{"\xA5\x92", 0x00E697}, {"\xA5\x93", 0x00E698}, {"\xA5\x94", 0x00E699}, {"\xA5\x95", 0x00E69A}, 
{"\xA5\x96", 0x00E69B}, {"\xA5\x97", 0x00E69C}, {"\xA5\x98", 0x00E69D}, {"\xA5\x99", 0x00E69E}, 
{"\xA5\x9A", 0x00E69F}, {"\xA5\x9B", 0x00E6A0}, {"\xA5\x9C", 0x00E6A1}, {"\xA5\x9D", 0x00E6A2}, 
{"\xA5\x9E", 0x00E6A3}, {"\xA5\x9F", 0x00E6A4}, {"\xA5\xA0", 0x00E6A5}, {"\xA5\xA1", 0x0030A1}, 
{"\xA5\xA2", 0x0030A2}, {"\xA5\xA3", 0x0030A3}, {"\xA5\xA4", 0x0030A4}, {"\xA5\xA5", 0x0030A5}, 
{"\xA5\xA6", 0x0030A6}, {"\xA5\xA7", 0x0030A7}, {"\xA5\xA8", 0x0030A8}, {"\xA5\xA9", 0x0030A9}, 
{"\xA5\xAA", 0x0030AA}, {"\xA5\xAB", 0x0030AB}, {"\xA5\xAC", 0x0030AC}, {"\xA5\xAD", 0x0030AD}, 
{"\xA5\xAE", 0x0030AE}, {"\xA5\xAF", 0x0030AF}, {"\xA5\xB0", 0x0030B0}, {"\xA5\xB1", 0x0030B1}, 
{"\xA5\xB2", 0x0030B2}, {"\xA5\xB3", 0x0030B3}, {"\xA5\xB4", 0x0030B4}, {"\xA5\xB5", 0x0030B5}, 
{"\xA5\xB6", 0x0030B6}, {"\xA5\xB7", 0x0030B7}, {"\xA5\xB8", 0x0030B8}, {"\xA5\xB9", 0x0030B9}, 
{"\xA5\xBA", 0x0030BA}, {"\xA5\xBB", 0x0030BB}, {"\xA5\xBC", 0x0030BC}, {"\xA5\xBD", 0x0030BD}, 
{"\xA5\xBE", 0x0030BE}, {"\xA5\xBF", 0x0030BF}, {"\xA5\xC0", 0x0030C0}, {"\xA5\xC1", 0x0030C1}, 
{"\xA5\xC2", 0x0030C2}, {"\xA5\xC3", 0x0030C3}, {"\xA5\xC4", 0x0030C4}, {"\xA5\xC5", 0x0030C5}, 
{"\xA5\xC6", 0x0030C6}, {"\xA5\xC7", 0x0030C7}, {"\xA5\xC8", 0x0030C8}, {"\xA5\xC9", 0x0030C9}, 
{"\xA5\xCA", 0x0030CA}, {"\xA5\xCB", 0x0030CB}, {"\xA5\xCC", 0x0030CC}, {"\xA5\xCD", 0x0030CD}, 
{"\xA5\xCE", 0x0030CE}, {"\xA5\xCF", 0x0030CF}, {"\xA5\xD0", 0x0030D0}, {"\xA5\xD1", 0x0030D1}, 
{"\xA5\xD2", 0x0030D2}, {"\xA5\xD3", 0x0030D3}, {"\xA5\xD4", 0x0030D4}, {"\xA5\xD5", 0x0030D5}, 
{"\xA5\xD6", 0x0030D6}, {"\xA5\xD7", 0x0030D7}, {"\xA5\xD8", 0x0030D8}, {"\xA5\xD9", 0x0030D9}, 
{"\xA5\xDA", 0x0030DA}, {"\xA5\xDB", 0x0030DB}, {"\xA5\xDC", 0x0030DC}, {"\xA5\xDD", 0x0030DD}, 
{"\xA5\xDE", 0x0030DE}, {"\xA5\xDF", 0x0030DF}, {"\xA5\xE0", 0x0030E0}, {"\xA5\xE1", 0x0030E1}, 
{"\xA5\xE2", 0x0030E2}, {"\xA5\xE3", 0x0030E3}, {"\xA5\xE4", 0x0030E4}, {"\xA5\xE5", 0x0030E5}, 
{"\xA5\xE6", 0x0030E6}, {"\xA5\xE7", 0x0030E7}, {"\xA5\xE8", 0x0030E8}, {"\xA5\xE9", 0x0030E9}, 
{"\xA5\xEA", 0x0030EA}, {"\xA5\xEB", 0x0030EB}, {"\xA5\xEC", 0x0030EC}, {"\xA5\xED", 0x0030ED}, 
{"\xA5\xEE", 0x0030EE}, {"\xA5\xEF", 0x0030EF}, {"\xA5\xF0", 0x0030F0}, {"\xA5\xF1", 0x0030F1}, 
{"\xA5\xF2", 0x0030F2}, {"\xA5\xF3", 0x0030F3}, {"\xA5\xF4", 0x0030F4}, {"\xA5\xF5", 0x0030F5}, 
{"\xA5\xF6", 0x0030F6}, {"\xA5\xF7", 0x00E77D}, {"\xA5\xF8", 0x00E77E}, {"\xA5\xF9", 0x00E77F}, 
{"\xA5\xFA", 0x00E780}, {"\xA5\xFB", 0x00E781}, {"\xA5\xFC", 0x00E782}, {"\xA5\xFD", 0x00E783}, 
{"\xA5\xFE", 0x00E784}, {"\xA6\x40", 0x00E6A6}, {"\xA6\x41", 0x00E6A7}, {"\xA6\x42", 0x00E6A8}, 
{"\xA6\x43", 0x00E6A9}, {"\xA6\x44", 0x00E6AA}, {"\xA6\x45", 0x00E6AB}, {"\xA6\x46", 0x00E6AC}, 
{"\xA6\x47", 0x00E6AD}, {"\xA6\x48", 0x00E6AE}, {"\xA6\x49", 0x00E6AF}, {"\xA6\x4A", 0x00E6B0}, 

};
 for(size_t i=1; i<sizeof(db2bmp_1b_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_1b_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_1c_gb18030_init()
{
static MB2UData db2bmp_1c_gb18030 [] = { {"", 0}, 
{"\xA6\x4B", 0x00E6B1}, {"\xA6\x4C", 0x00E6B2}, {"\xA6\x4D", 0x00E6B3}, {"\xA6\x4E", 0x00E6B4}, 
{"\xA6\x4F", 0x00E6B5}, {"\xA6\x50", 0x00E6B6}, {"\xA6\x51", 0x00E6B7}, {"\xA6\x52", 0x00E6B8}, 
{"\xA6\x53", 0x00E6B9}, {"\xA6\x54", 0x00E6BA}, {"\xA6\x55", 0x00E6BB}, {"\xA6\x56", 0x00E6BC}, 
{"\xA6\x57", 0x00E6BD}, {"\xA6\x58", 0x00E6BE}, {"\xA6\x59", 0x00E6BF}, {"\xA6\x5A", 0x00E6C0}, 
{"\xA6\x5B", 0x00E6C1}, {"\xA6\x5C", 0x00E6C2}, {"\xA6\x5D", 0x00E6C3}, {"\xA6\x5E", 0x00E6C4}, 
{"\xA6\x5F", 0x00E6C5}, {"\xA6\x60", 0x00E6C6}, {"\xA6\x61", 0x00E6C7}, {"\xA6\x62", 0x00E6C8}, 
{"\xA6\x63", 0x00E6C9}, {"\xA6\x64", 0x00E6CA}, {"\xA6\x65", 0x00E6CB}, {"\xA6\x66", 0x00E6CC}, 
{"\xA6\x67", 0x00E6CD}, {"\xA6\x68", 0x00E6CE}, {"\xA6\x69", 0x00E6CF}, {"\xA6\x6A", 0x00E6D0}, 
{"\xA6\x6B", 0x00E6D1}, {"\xA6\x6C", 0x00E6D2}, {"\xA6\x6D", 0x00E6D3}, {"\xA6\x6E", 0x00E6D4}, 
{"\xA6\x6F", 0x00E6D5}, {"\xA6\x70", 0x00E6D6}, {"\xA6\x71", 0x00E6D7}, {"\xA6\x72", 0x00E6D8}, 
{"\xA6\x73", 0x00E6D9}, {"\xA6\x74", 0x00E6DA}, {"\xA6\x75", 0x00E6DB}, {"\xA6\x76", 0x00E6DC}, 
{"\xA6\x77", 0x00E6DD}, {"\xA6\x78", 0x00E6DE}, {"\xA6\x79", 0x00E6DF}, {"\xA6\x7A", 0x00E6E0}, 
{"\xA6\x7B", 0x00E6E1}, {"\xA6\x7C", 0x00E6E2}, {"\xA6\x7D", 0x00E6E3}, {"\xA6\x7E", 0x00E6E4}, 
{"\xA6\x80", 0x00E6E5}, {"\xA6\x81", 0x00E6E6}, {"\xA6\x82", 0x00E6E7}, {"\xA6\x83", 0x00E6E8}, 
{"\xA6\x84", 0x00E6E9}, {"\xA6\x85", 0x00E6EA}, {"\xA6\x86", 0x00E6EB}, {"\xA6\x87", 0x00E6EC}, 
{"\xA6\x88", 0x00E6ED}, {"\xA6\x89", 0x00E6EE}, {"\xA6\x8A", 0x00E6EF}, {"\xA6\x8B", 0x00E6F0}, 
{"\xA6\x8C", 0x00E6F1}, {"\xA6\x8D", 0x00E6F2}, {"\xA6\x8E", 0x00E6F3}, {"\xA6\x8F", 0x00E6F4}, 
{"\xA6\x90", 0x00E6F5}, {"\xA6\x91", 0x00E6F6}, {"\xA6\x92", 0x00E6F7}, {"\xA6\x93", 0x00E6F8}, 
{"\xA6\x94", 0x00E6F9}, {"\xA6\x95", 0x00E6FA}, {"\xA6\x96", 0x00E6FB}, {"\xA6\x97", 0x00E6FC}, 
{"\xA6\x98", 0x00E6FD}, {"\xA6\x99", 0x00E6FE}, {"\xA6\x9A", 0x00E6FF}, {"\xA6\x9B", 0x00E700}, 
{"\xA6\x9C", 0x00E701}, {"\xA6\x9D", 0x00E702}, {"\xA6\x9E", 0x00E703}, {"\xA6\x9F", 0x00E704}, 
{"\xA6\xA0", 0x00E705}, {"\xA6\xA1", 0x000391}, {"\xA6\xA2", 0x000392}, {"\xA6\xA3", 0x000393}, 
{"\xA6\xA4", 0x000394}, {"\xA6\xA5", 0x000395}, {"\xA6\xA6", 0x000396}, {"\xA6\xA7", 0x000397}, 
{"\xA6\xA8", 0x000398}, {"\xA6\xA9", 0x000399}, {"\xA6\xAA", 0x00039A}, {"\xA6\xAB", 0x00039B}, 
{"\xA6\xAC", 0x00039C}, {"\xA6\xAD", 0x00039D}, {"\xA6\xAE", 0x00039E}, {"\xA6\xAF", 0x00039F}, 
{"\xA6\xB0", 0x0003A0}, {"\xA6\xB1", 0x0003A1}, {"\xA6\xB2", 0x0003A3}, {"\xA6\xB3", 0x0003A4}, 
{"\xA6\xB4", 0x0003A5}, {"\xA6\xB5", 0x0003A6}, {"\xA6\xB6", 0x0003A7}, {"\xA6\xB7", 0x0003A8}, 
{"\xA6\xB8", 0x0003A9}, {"\xA6\xB9", 0x00E785}, {"\xA6\xBA", 0x00E786}, {"\xA6\xBB", 0x00E787}, 
{"\xA6\xBC", 0x00E788}, {"\xA6\xBD", 0x00E789}, {"\xA6\xBE", 0x00E78A}, {"\xA6\xBF", 0x00E78B}, 
{"\xA6\xC0", 0x00E78C}, {"\xA6\xC1", 0x0003B1}, {"\xA6\xC2", 0x0003B2}, {"\xA6\xC3", 0x0003B3}, 
{"\xA6\xC4", 0x0003B4}, {"\xA6\xC5", 0x0003B5}, {"\xA6\xC6", 0x0003B6}, {"\xA6\xC7", 0x0003B7}, 
{"\xA6\xC8", 0x0003B8}, {"\xA6\xC9", 0x0003B9}, {"\xA6\xCA", 0x0003BA}, {"\xA6\xCB", 0x0003BB}, 
{"\xA6\xCC", 0x0003BC}, {"\xA6\xCD", 0x0003BD}, {"\xA6\xCE", 0x0003BE}, {"\xA6\xCF", 0x0003BF}, 
{"\xA6\xD0", 0x0003C0}, {"\xA6\xD1", 0x0003C1}, {"\xA6\xD2", 0x0003C3}, {"\xA6\xD3", 0x0003C4}, 
{"\xA6\xD4", 0x0003C5}, {"\xA6\xD5", 0x0003C6}, {"\xA6\xD6", 0x0003C7}, {"\xA6\xD7", 0x0003C8}, 
{"\xA6\xD8", 0x0003C9}, {"\xA6\xD9", 0x00FE10}, {"\xA6\xDA", 0x00FE12}, {"\xA6\xDB", 0x00FE11}, 
{"\xA6\xDC", 0x00FE13}, {"\xA6\xDD", 0x00FE14}, {"\xA6\xDE", 0x00FE15}, {"\xA6\xDF", 0x00FE16}, 
{"\xA6\xE0", 0x00FE35}, {"\xA6\xE1", 0x00FE36}, {"\xA6\xE2", 0x00FE39}, {"\xA6\xE3", 0x00FE3A}, 
{"\xA6\xE4", 0x00FE3F}, {"\xA6\xE5", 0x00FE40}, {"\xA6\xE6", 0x00FE3D}, {"\xA6\xE7", 0x00FE3E}, 
{"\xA6\xE8", 0x00FE41}, {"\xA6\xE9", 0x00FE42}, {"\xA6\xEA", 0x00FE43}, {"\xA6\xEB", 0x00FE44}, 
{"\xA6\xEC", 0x00FE17}, {"\xA6\xED", 0x00FE18}, {"\xA6\xEE", 0x00FE3B}, {"\xA6\xEF", 0x00FE3C}, 
{"\xA6\xF0", 0x00FE37}, {"\xA6\xF1", 0x00FE38}, {"\xA6\xF2", 0x00FE31}, {"\xA6\xF3", 0x00FE19}, 
{"\xA6\xF4", 0x00FE33}, {"\xA6\xF5", 0x00FE34}, {"\xA6\xF6", 0x00E797}, {"\xA6\xF7", 0x00E798}, 
{"\xA6\xF8", 0x00E799}, {"\xA6\xF9", 0x00E79A}, {"\xA6\xFA", 0x00E79B}, {"\xA6\xFB", 0x00E79C}, 
{"\xA6\xFC", 0x00E79D}, {"\xA6\xFD", 0x00E79E}, {"\xA6\xFE", 0x00E79F}, {"\xA7\x40", 0x00E706}, 
{"\xA7\x41", 0x00E707}, {"\xA7\x42", 0x00E708}, {"\xA7\x43", 0x00E709}, {"\xA7\x44", 0x00E70A}, 
{"\xA7\x45", 0x00E70B}, {"\xA7\x46", 0x00E70C}, {"\xA7\x47", 0x00E70D}, {"\xA7\x48", 0x00E70E}, 
{"\xA7\x49", 0x00E70F}, {"\xA7\x4A", 0x00E710}, {"\xA7\x4B", 0x00E711}, {"\xA7\x4C", 0x00E712}, 
{"\xA7\x4D", 0x00E713}, {"\xA7\x4E", 0x00E714}, {"\xA7\x4F", 0x00E715}, {"\xA7\x50", 0x00E716}, 
{"\xA7\x51", 0x00E717}, {"\xA7\x52", 0x00E718}, {"\xA7\x53", 0x00E719}, {"\xA7\x54", 0x00E71A}, 
{"\xA7\x55", 0x00E71B}, {"\xA7\x56", 0x00E71C}, {"\xA7\x57", 0x00E71D}, {"\xA7\x58", 0x00E71E}, 
{"\xA7\x59", 0x00E71F}, {"\xA7\x5A", 0x00E720}, {"\xA7\x5B", 0x00E721}, {"\xA7\x5C", 0x00E722}, 
{"\xA7\x5D", 0x00E723}, {"\xA7\x5E", 0x00E724}, {"\xA7\x5F", 0x00E725}, {"\xA7\x60", 0x00E726}, 
{"\xA7\x61", 0x00E727}, {"\xA7\x62", 0x00E728}, {"\xA7\x63", 0x00E729}, {"\xA7\x64", 0x00E72A}, 
{"\xA7\x65", 0x00E72B}, {"\xA7\x66", 0x00E72C}, {"\xA7\x67", 0x00E72D}, {"\xA7\x68", 0x00E72E}, 
{"\xA7\x69", 0x00E72F}, {"\xA7\x6A", 0x00E730}, {"\xA7\x6B", 0x00E731}, {"\xA7\x6C", 0x00E732}, 
{"\xA7\x6D", 0x00E733}, {"\xA7\x6E", 0x00E734}, {"\xA7\x6F", 0x00E735}, {"\xA7\x70", 0x00E736}, 
{"\xA7\x71", 0x00E737}, {"\xA7\x72", 0x00E738}, {"\xA7\x73", 0x00E739}, {"\xA7\x74", 0x00E73A}, 
{"\xA7\x75", 0x00E73B}, {"\xA7\x76", 0x00E73C}, {"\xA7\x77", 0x00E73D}, {"\xA7\x78", 0x00E73E}, 
{"\xA7\x79", 0x00E73F}, {"\xA7\x7A", 0x00E740}, {"\xA7\x7B", 0x00E741}, {"\xA7\x7C", 0x00E742}, 
{"\xA7\x7D", 0x00E743}, {"\xA7\x7E", 0x00E744}, {"\xA7\x80", 0x00E745}, {"\xA7\x81", 0x00E746}, 
{"\xA7\x82", 0x00E747}, {"\xA7\x83", 0x00E748}, {"\xA7\x84", 0x00E749}, {"\xA7\x85", 0x00E74A}, 
{"\xA7\x86", 0x00E74B}, {"\xA7\x87", 0x00E74C}, {"\xA7\x88", 0x00E74D}, {"\xA7\x89", 0x00E74E}, 
{"\xA7\x8A", 0x00E74F}, {"\xA7\x8B", 0x00E750}, {"\xA7\x8C", 0x00E751}, {"\xA7\x8D", 0x00E752}, 

};
 for(size_t i=1; i<sizeof(db2bmp_1c_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_1c_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_1d_gb18030_init()
{
static MB2UData db2bmp_1d_gb18030 [] = { {"", 0}, 
{"\xA7\x8E", 0x00E753}, {"\xA7\x8F", 0x00E754}, {"\xA7\x90", 0x00E755}, {"\xA7\x91", 0x00E756}, 
{"\xA7\x92", 0x00E757}, {"\xA7\x93", 0x00E758}, {"\xA7\x94", 0x00E759}, {"\xA7\x95", 0x00E75A}, 
{"\xA7\x96", 0x00E75B}, {"\xA7\x97", 0x00E75C}, {"\xA7\x98", 0x00E75D}, {"\xA7\x99", 0x00E75E}, 
{"\xA7\x9A", 0x00E75F}, {"\xA7\x9B", 0x00E760}, {"\xA7\x9C", 0x00E761}, {"\xA7\x9D", 0x00E762}, 
{"\xA7\x9E", 0x00E763}, {"\xA7\x9F", 0x00E764}, {"\xA7\xA0", 0x00E765}, {"\xA7\xA1", 0x000410}, 
{"\xA7\xA2", 0x000411}, {"\xA7\xA3", 0x000412}, {"\xA7\xA4", 0x000413}, {"\xA7\xA5", 0x000414}, 
{"\xA7\xA6", 0x000415}, {"\xA7\xA7", 0x000401}, {"\xA7\xA8", 0x000416}, {"\xA7\xA9", 0x000417}, 
{"\xA7\xAA", 0x000418}, {"\xA7\xAB", 0x000419}, {"\xA7\xAC", 0x00041A}, {"\xA7\xAD", 0x00041B}, 
{"\xA7\xAE", 0x00041C}, {"\xA7\xAF", 0x00041D}, {"\xA7\xB0", 0x00041E}, {"\xA7\xB1", 0x00041F}, 
{"\xA7\xB2", 0x000420}, {"\xA7\xB3", 0x000421}, {"\xA7\xB4", 0x000422}, {"\xA7\xB5", 0x000423}, 
{"\xA7\xB6", 0x000424}, {"\xA7\xB7", 0x000425}, {"\xA7\xB8", 0x000426}, {"\xA7\xB9", 0x000427}, 
{"\xA7\xBA", 0x000428}, {"\xA7\xBB", 0x000429}, {"\xA7\xBC", 0x00042A}, {"\xA7\xBD", 0x00042B}, 
{"\xA7\xBE", 0x00042C}, {"\xA7\xBF", 0x00042D}, {"\xA7\xC0", 0x00042E}, {"\xA7\xC1", 0x00042F}, 
{"\xA7\xC2", 0x00E7A0}, {"\xA7\xC3", 0x00E7A1}, {"\xA7\xC4", 0x00E7A2}, {"\xA7\xC5", 0x00E7A3}, 
{"\xA7\xC6", 0x00E7A4}, {"\xA7\xC7", 0x00E7A5}, {"\xA7\xC8", 0x00E7A6}, {"\xA7\xC9", 0x00E7A7}, 
{"\xA7\xCA", 0x00E7A8}, {"\xA7\xCB", 0x00E7A9}, {"\xA7\xCC", 0x00E7AA}, {"\xA7\xCD", 0x00E7AB}, 
{"\xA7\xCE", 0x00E7AC}, {"\xA7\xCF", 0x00E7AD}, {"\xA7\xD0", 0x00E7AE}, {"\xA7\xD1", 0x000430}, 
{"\xA7\xD2", 0x000431}, {"\xA7\xD3", 0x000432}, {"\xA7\xD4", 0x000433}, {"\xA7\xD5", 0x000434}, 
{"\xA7\xD6", 0x000435}, {"\xA7\xD7", 0x000451}, {"\xA7\xD8", 0x000436}, {"\xA7\xD9", 0x000437}, 
{"\xA7\xDA", 0x000438}, {"\xA7\xDB", 0x000439}, {"\xA7\xDC", 0x00043A}, {"\xA7\xDD", 0x00043B}, 
{"\xA7\xDE", 0x00043C}, {"\xA7\xDF", 0x00043D}, {"\xA7\xE0", 0x00043E}, {"\xA7\xE1", 0x00043F}, 
{"\xA7\xE2", 0x000440}, {"\xA7\xE3", 0x000441}, {"\xA7\xE4", 0x000442}, {"\xA7\xE5", 0x000443}, 
{"\xA7\xE6", 0x000444}, {"\xA7\xE7", 0x000445}, {"\xA7\xE8", 0x000446}, {"\xA7\xE9", 0x000447}, 
{"\xA7\xEA", 0x000448}, {"\xA7\xEB", 0x000449}, {"\xA7\xEC", 0x00044A}, {"\xA7\xED", 0x00044B}, 
{"\xA7\xEE", 0x00044C}, {"\xA7\xEF", 0x00044D}, {"\xA7\xF0", 0x00044E}, {"\xA7\xF1", 0x00044F}, 
{"\xA7\xF2", 0x00E7AF}, {"\xA7\xF3", 0x00E7B0}, {"\xA7\xF4", 0x00E7B1}, {"\xA7\xF5", 0x00E7B2}, 
{"\xA7\xF6", 0x00E7B3}, {"\xA7\xF7", 0x00E7B4}, {"\xA7\xF8", 0x00E7B5}, {"\xA7\xF9", 0x00E7B6}, 
{"\xA7\xFA", 0x00E7B7}, {"\xA7\xFB", 0x00E7B8}, {"\xA7\xFC", 0x00E7B9}, {"\xA7\xFD", 0x00E7BA}, 
{"\xA7\xFE", 0x00E7BB}, {"\xA8\x40", 0x0002CA}, {"\xA8\x41", 0x0002CB}, {"\xA8\x42", 0x0002D9}, 
{"\xA8\x43", 0x002013}, {"\xA8\x44", 0x002015}, {"\xA8\x45", 0x002025}, {"\xA8\x46", 0x002035}, 
{"\xA8\x47", 0x002105}, {"\xA8\x48", 0x002109}, {"\xA8\x49", 0x002196}, {"\xA8\x4A", 0x002197}, 
{"\xA8\x4B", 0x002198}, {"\xA8\x4C", 0x002199}, {"\xA8\x4D", 0x002215}, {"\xA8\x4E", 0x00221F}, 
{"\xA8\x4F", 0x002223}, {"\xA8\x50", 0x002252}, {"\xA8\x51", 0x002266}, {"\xA8\x52", 0x002267}, 
{"\xA8\x53", 0x0022BF}, {"\xA8\x54", 0x002550}, {"\xA8\x55", 0x002551}, {"\xA8\x56", 0x002552}, 
{"\xA8\x57", 0x002553}, {"\xA8\x58", 0x002554}, {"\xA8\x59", 0x002555}, {"\xA8\x5A", 0x002556}, 
{"\xA8\x5B", 0x002557}, {"\xA8\x5C", 0x002558}, {"\xA8\x5D", 0x002559}, {"\xA8\x5E", 0x00255A}, 
{"\xA8\x5F", 0x00255B}, {"\xA8\x60", 0x00255C}, {"\xA8\x61", 0x00255D}, {"\xA8\x62", 0x00255E}, 
{"\xA8\x63", 0x00255F}, {"\xA8\x64", 0x002560}, {"\xA8\x65", 0x002561}, {"\xA8\x66", 0x002562}, 
{"\xA8\x67", 0x002563}, {"\xA8\x68", 0x002564}, {"\xA8\x69", 0x002565}, {"\xA8\x6A", 0x002566}, 
{"\xA8\x6B", 0x002567}, {"\xA8\x6C", 0x002568}, {"\xA8\x6D", 0x002569}, {"\xA8\x6E", 0x00256A}, 
{"\xA8\x6F", 0x00256B}, {"\xA8\x70", 0x00256C}, {"\xA8\x71", 0x00256D}, {"\xA8\x72", 0x00256E}, 
{"\xA8\x73", 0x00256F}, {"\xA8\x74", 0x002570}, {"\xA8\x75", 0x002571}, {"\xA8\x76", 0x002572}, 
{"\xA8\x77", 0x002573}, {"\xA8\x78", 0x002581}, {"\xA8\x79", 0x002582}, {"\xA8\x7A", 0x002583}, 
{"\xA8\x7B", 0x002584}, {"\xA8\x7C", 0x002585}, {"\xA8\x7D", 0x002586}, {"\xA8\x7E", 0x002587}, 
{"\xA8\x80", 0x002588}, {"\xA8\x81", 0x002589}, {"\xA8\x82", 0x00258A}, {"\xA8\x83", 0x00258B}, 
{"\xA8\x84", 0x00258C}, {"\xA8\x85", 0x00258D}, {"\xA8\x86", 0x00258E}, {"\xA8\x87", 0x00258F}, 
{"\xA8\x88", 0x002593}, {"\xA8\x89", 0x002594}, {"\xA8\x8A", 0x002595}, {"\xA8\x8B", 0x0025BC}, 
{"\xA8\x8C", 0x0025BD}, {"\xA8\x8D", 0x0025E2}, {"\xA8\x8E", 0x0025E3}, {"\xA8\x8F", 0x0025E4}, 
{"\xA8\x90", 0x0025E5}, {"\xA8\x91", 0x002609}, {"\xA8\x92", 0x002295}, {"\xA8\x93", 0x003012}, 
{"\xA8\x94", 0x00301D}, {"\xA8\x95", 0x00301E}, {"\xA8\x96", 0x00E7BC}, {"\xA8\x97", 0x00E7BD}, 
{"\xA8\x98", 0x00E7BE}, {"\xA8\x99", 0x00E7BF}, {"\xA8\x9A", 0x00E7C0}, {"\xA8\x9B", 0x00E7C1}, 
{"\xA8\x9C", 0x00E7C2}, {"\xA8\x9D", 0x00E7C3}, {"\xA8\x9E", 0x00E7C4}, {"\xA8\x9F", 0x00E7C5}, 
{"\xA8\xA0", 0x00E7C6}, {"\xA8\xA1", 0x000101}, {"\xA8\xA2", 0x0000E1}, {"\xA8\xA3", 0x0001CE}, 
{"\xA8\xA4", 0x0000E0}, {"\xA8\xA5", 0x000113}, {"\xA8\xA6", 0x0000E9}, {"\xA8\xA7", 0x00011B}, 
{"\xA8\xA8", 0x0000E8}, {"\xA8\xA9", 0x00012B}, {"\xA8\xAA", 0x0000ED}, {"\xA8\xAB", 0x0001D0}, 
{"\xA8\xAC", 0x0000EC}, {"\xA8\xAD", 0x00014D}, {"\xA8\xAE", 0x0000F3}, {"\xA8\xAF", 0x0001D2}, 
{"\xA8\xB0", 0x0000F2}, {"\xA8\xB1", 0x00016B}, {"\xA8\xB2", 0x0000FA}, {"\xA8\xB3", 0x0001D4}, 
{"\xA8\xB4", 0x0000F9}, {"\xA8\xB5", 0x0001D6}, {"\xA8\xB6", 0x0001D8}, {"\xA8\xB7", 0x0001DA}, 
{"\xA8\xB8", 0x0001DC}, {"\xA8\xB9", 0x0000FC}, {"\xA8\xBA", 0x0000EA}, {"\xA8\xBB", 0x000251}, 
{"\xA8\xBC", 0x001E3F}, {"\xA8\xBD", 0x000144}, {"\xA8\xBE", 0x000148}, {"\xA8\xBF", 0x0001F9}, 
{"\xA8\xC0", 0x000261}, {"\xA8\xC1", 0x00E7C9}, {"\xA8\xC2", 0x00E7CA}, {"\xA8\xC3", 0x00E7CB}, 
{"\xA8\xC4", 0x00E7CC}, {"\xA8\xC5", 0x003105}, {"\xA8\xC6", 0x003106}, {"\xA8\xC7", 0x003107}, 
{"\xA8\xC8", 0x003108}, {"\xA8\xC9", 0x003109}, {"\xA8\xCA", 0x00310A}, {"\xA8\xCB", 0x00310B}, 
{"\xA8\xCC", 0x00310C}, {"\xA8\xCD", 0x00310D}, {"\xA8\xCE", 0x00310E}, {"\xA8\xCF", 0x00310F}, 

};
 for(size_t i=1; i<sizeof(db2bmp_1d_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_1d_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_1e_gb18030_init()
{
static MB2UData db2bmp_1e_gb18030 [] = { {"", 0}, 
{"\xA8\xD0", 0x003110}, {"\xA8\xD1", 0x003111}, {"\xA8\xD2", 0x003112}, {"\xA8\xD3", 0x003113}, 
{"\xA8\xD4", 0x003114}, {"\xA8\xD5", 0x003115}, {"\xA8\xD6", 0x003116}, {"\xA8\xD7", 0x003117}, 
{"\xA8\xD8", 0x003118}, {"\xA8\xD9", 0x003119}, {"\xA8\xDA", 0x00311A}, {"\xA8\xDB", 0x00311B}, 
{"\xA8\xDC", 0x00311C}, {"\xA8\xDD", 0x00311D}, {"\xA8\xDE", 0x00311E}, {"\xA8\xDF", 0x00311F}, 
{"\xA8\xE0", 0x003120}, {"\xA8\xE1", 0x003121}, {"\xA8\xE2", 0x003122}, {"\xA8\xE3", 0x003123}, 
{"\xA8\xE4", 0x003124}, {"\xA8\xE5", 0x003125}, {"\xA8\xE6", 0x003126}, {"\xA8\xE7", 0x003127}, 
{"\xA8\xE8", 0x003128}, {"\xA8\xE9", 0x003129}, {"\xA8\xEA", 0x00E7CD}, {"\xA8\xEB", 0x00E7CE}, 
{"\xA8\xEC", 0x00E7CF}, {"\xA8\xED", 0x00E7D0}, {"\xA8\xEE", 0x00E7D1}, {"\xA8\xEF", 0x00E7D2}, 
{"\xA8\xF0", 0x00E7D3}, {"\xA8\xF1", 0x00E7D4}, {"\xA8\xF2", 0x00E7D5}, {"\xA8\xF3", 0x00E7D6}, 
{"\xA8\xF4", 0x00E7D7}, {"\xA8\xF5", 0x00E7D8}, {"\xA8\xF6", 0x00E7D9}, {"\xA8\xF7", 0x00E7DA}, 
{"\xA8\xF8", 0x00E7DB}, {"\xA8\xF9", 0x00E7DC}, {"\xA8\xFA", 0x00E7DD}, {"\xA8\xFB", 0x00E7DE}, 
{"\xA8\xFC", 0x00E7DF}, {"\xA8\xFD", 0x00E7E0}, {"\xA8\xFE", 0x00E7E1}, {"\xA9\x40", 0x003021}, 
{"\xA9\x41", 0x003022}, {"\xA9\x42", 0x003023}, {"\xA9\x43", 0x003024}, {"\xA9\x44", 0x003025}, 
{"\xA9\x45", 0x003026}, {"\xA9\x46", 0x003027}, {"\xA9\x47", 0x003028}, {"\xA9\x48", 0x003029}, 
{"\xA9\x49", 0x0032A3}, {"\xA9\x4A", 0x00338E}, {"\xA9\x4B", 0x00338F}, {"\xA9\x4C", 0x00339C}, 
{"\xA9\x4D", 0x00339D}, {"\xA9\x4E", 0x00339E}, {"\xA9\x4F", 0x0033A1}, {"\xA9\x50", 0x0033C4}, 
{"\xA9\x51", 0x0033CE}, {"\xA9\x52", 0x0033D1}, {"\xA9\x53", 0x0033D2}, {"\xA9\x54", 0x0033D5}, 
{"\xA9\x55", 0x00FE30}, {"\xA9\x56", 0x00FFE2}, {"\xA9\x57", 0x00FFE4}, {"\xA9\x58", 0x00E7E2}, 
{"\xA9\x59", 0x002121}, {"\xA9\x5A", 0x003231}, {"\xA9\x5B", 0x00E7E3}, {"\xA9\x5C", 0x002010}, 
{"\xA9\x5D", 0x00E7E4}, {"\xA9\x5E", 0x00E7E5}, {"\xA9\x5F", 0x00E7E6}, {"\xA9\x60", 0x0030FC}, 
{"\xA9\x61", 0x00309B}, {"\xA9\x62", 0x00309C}, {"\xA9\x63", 0x0030FD}, {"\xA9\x64", 0x0030FE}, 
{"\xA9\x65", 0x003006}, {"\xA9\x66", 0x00309D}, {"\xA9\x67", 0x00309E}, {"\xA9\x68", 0x00FE49}, 
{"\xA9\x69", 0x00FE4A}, {"\xA9\x6A", 0x00FE4B}, {"\xA9\x6B", 0x00FE4C}, {"\xA9\x6C", 0x00FE4D}, 
{"\xA9\x6D", 0x00FE4E}, {"\xA9\x6E", 0x00FE4F}, {"\xA9\x6F", 0x00FE50}, {"\xA9\x70", 0x00FE51}, 
{"\xA9\x71", 0x00FE52}, {"\xA9\x72", 0x00FE54}, {"\xA9\x73", 0x00FE55}, {"\xA9\x74", 0x00FE56}, 
{"\xA9\x75", 0x00FE57}, {"\xA9\x76", 0x00FE59}, {"\xA9\x77", 0x00FE5A}, {"\xA9\x78", 0x00FE5B}, 
{"\xA9\x79", 0x00FE5C}, {"\xA9\x7A", 0x00FE5D}, {"\xA9\x7B", 0x00FE5E}, {"\xA9\x7C", 0x00FE5F}, 
{"\xA9\x7D", 0x00FE60}, {"\xA9\x7E", 0x00FE61}, {"\xA9\x80", 0x00FE62}, {"\xA9\x81", 0x00FE63}, 
{"\xA9\x82", 0x00FE64}, {"\xA9\x83", 0x00FE65}, {"\xA9\x84", 0x00FE66}, {"\xA9\x85", 0x00FE68}, 
{"\xA9\x86", 0x00FE69}, {"\xA9\x87", 0x00FE6A}, {"\xA9\x88", 0x00FE6B}, {"\xA9\x89", 0x00303E}, 
{"\xA9\x8A", 0x002FF0}, {"\xA9\x8B", 0x002FF1}, {"\xA9\x8C", 0x002FF2}, {"\xA9\x8D", 0x002FF3}, 
{"\xA9\x8E", 0x002FF4}, {"\xA9\x8F", 0x002FF5}, {"\xA9\x90", 0x002FF6}, {"\xA9\x91", 0x002FF7}, 
{"\xA9\x92", 0x002FF8}, {"\xA9\x93", 0x002FF9}, {"\xA9\x94", 0x002FFA}, {"\xA9\x95", 0x002FFB}, 
{"\xA9\x96", 0x003007}, {"\xA9\x97", 0x00E7F4}, {"\xA9\x98", 0x00E7F5}, {"\xA9\x99", 0x00E7F6}, 
{"\xA9\x9A", 0x00E7F7}, {"\xA9\x9B", 0x00E7F8}, {"\xA9\x9C", 0x00E7F9}, {"\xA9\x9D", 0x00E7FA}, 
{"\xA9\x9E", 0x00E7FB}, {"\xA9\x9F", 0x00E7FC}, {"\xA9\xA0", 0x00E7FD}, {"\xA9\xA1", 0x00E7FE}, 
{"\xA9\xA2", 0x00E7FF}, {"\xA9\xA3", 0x00E800}, {"\xA9\xA4", 0x002500}, {"\xA9\xA5", 0x002501}, 
{"\xA9\xA6", 0x002502}, {"\xA9\xA7", 0x002503}, {"\xA9\xA8", 0x002504}, {"\xA9\xA9", 0x002505}, 
{"\xA9\xAA", 0x002506}, {"\xA9\xAB", 0x002507}, {"\xA9\xAC", 0x002508}, {"\xA9\xAD", 0x002509}, 
{"\xA9\xAE", 0x00250A}, {"\xA9\xAF", 0x00250B}, {"\xA9\xB0", 0x00250C}, {"\xA9\xB1", 0x00250D}, 
{"\xA9\xB2", 0x00250E}, {"\xA9\xB3", 0x00250F}, {"\xA9\xB4", 0x002510}, {"\xA9\xB5", 0x002511}, 
{"\xA9\xB6", 0x002512}, {"\xA9\xB7", 0x002513}, {"\xA9\xB8", 0x002514}, {"\xA9\xB9", 0x002515}, 
{"\xA9\xBA", 0x002516}, {"\xA9\xBB", 0x002517}, {"\xA9\xBC", 0x002518}, {"\xA9\xBD", 0x002519}, 
{"\xA9\xBE", 0x00251A}, {"\xA9\xBF", 0x00251B}, {"\xA9\xC0", 0x00251C}, {"\xA9\xC1", 0x00251D}, 
{"\xA9\xC2", 0x00251E}, {"\xA9\xC3", 0x00251F}, {"\xA9\xC4", 0x002520}, {"\xA9\xC5", 0x002521}, 
{"\xA9\xC6", 0x002522}, {"\xA9\xC7", 0x002523}, {"\xA9\xC8", 0x002524}, {"\xA9\xC9", 0x002525}, 
{"\xA9\xCA", 0x002526}, {"\xA9\xCB", 0x002527}, {"\xA9\xCC", 0x002528}, {"\xA9\xCD", 0x002529}, 
{"\xA9\xCE", 0x00252A}, {"\xA9\xCF", 0x00252B}, {"\xA9\xD0", 0x00252C}, {"\xA9\xD1", 0x00252D}, 
{"\xA9\xD2", 0x00252E}, {"\xA9\xD3", 0x00252F}, {"\xA9\xD4", 0x002530}, {"\xA9\xD5", 0x002531}, 
{"\xA9\xD6", 0x002532}, {"\xA9\xD7", 0x002533}, {"\xA9\xD8", 0x002534}, {"\xA9\xD9", 0x002535}, 
{"\xA9\xDA", 0x002536}, {"\xA9\xDB", 0x002537}, {"\xA9\xDC", 0x002538}, {"\xA9\xDD", 0x002539}, 
{"\xA9\xDE", 0x00253A}, {"\xA9\xDF", 0x00253B}, {"\xA9\xE0", 0x00253C}, {"\xA9\xE1", 0x00253D}, 
{"\xA9\xE2", 0x00253E}, {"\xA9\xE3", 0x00253F}, {"\xA9\xE4", 0x002540}, {"\xA9\xE5", 0x002541}, 
{"\xA9\xE6", 0x002542}, {"\xA9\xE7", 0x002543}, {"\xA9\xE8", 0x002544}, {"\xA9\xE9", 0x002545}, 
{"\xA9\xEA", 0x002546}, {"\xA9\xEB", 0x002547}, {"\xA9\xEC", 0x002548}, {"\xA9\xED", 0x002549}, 
{"\xA9\xEE", 0x00254A}, {"\xA9\xEF", 0x00254B}, {"\xA9\xF0", 0x00E801}, {"\xA9\xF1", 0x00E802}, 
{"\xA9\xF2", 0x00E803}, {"\xA9\xF3", 0x00E804}, {"\xA9\xF4", 0x00E805}, {"\xA9\xF5", 0x00E806}, 
{"\xA9\xF6", 0x00E807}, {"\xA9\xF7", 0x00E808}, {"\xA9\xF8", 0x00E809}, {"\xA9\xF9", 0x00E80A}, 
{"\xA9\xFA", 0x00E80B}, {"\xA9\xFB", 0x00E80C}, {"\xA9\xFC", 0x00E80D}, {"\xA9\xFD", 0x00E80E}, 
{"\xA9\xFE", 0x00E80F}, {"\xAA\x40", 0x0072DC}, {"\xAA\x41", 0x0072DD}, {"\xAA\x42", 0x0072DF}, 
{"\xAA\x43", 0x0072E2}, {"\xAA\x44", 0x0072E3}, {"\xAA\x45", 0x0072E4}, {"\xAA\x46", 0x0072E5}, 
{"\xAA\x47", 0x0072E6}, {"\xAA\x48", 0x0072E7}, {"\xAA\x49", 0x0072EA}, {"\xAA\x4A", 0x0072EB}, 
{"\xAA\x4B", 0x0072F5}, {"\xAA\x4C", 0x0072F6}, {"\xAA\x4D", 0x0072F9}, {"\xAA\x4E", 0x0072FD}, 
{"\xAA\x4F", 0x0072FE}, {"\xAA\x50", 0x0072FF}, {"\xAA\x51", 0x007300}, {"\xAA\x52", 0x007302}, 

};
 for(size_t i=1; i<sizeof(db2bmp_1e_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_1e_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_1f_gb18030_init()
{
static MB2UData db2bmp_1f_gb18030 [] = { {"", 0}, 
{"\xAA\x53", 0x007304}, {"\xAA\x54", 0x007305}, {"\xAA\x55", 0x007306}, {"\xAA\x56", 0x007307}, 
{"\xAA\x57", 0x007308}, {"\xAA\x58", 0x007309}, {"\xAA\x59", 0x00730B}, {"\xAA\x5A", 0x00730C}, 
{"\xAA\x5B", 0x00730D}, {"\xAA\x5C", 0x00730F}, {"\xAA\x5D", 0x007310}, {"\xAA\x5E", 0x007311}, 
{"\xAA\x5F", 0x007312}, {"\xAA\x60", 0x007314}, {"\xAA\x61", 0x007318}, {"\xAA\x62", 0x007319}, 
{"\xAA\x63", 0x00731A}, {"\xAA\x64", 0x00731F}, {"\xAA\x65", 0x007320}, {"\xAA\x66", 0x007323}, 
{"\xAA\x67", 0x007324}, {"\xAA\x68", 0x007326}, {"\xAA\x69", 0x007327}, {"\xAA\x6A", 0x007328}, 
{"\xAA\x6B", 0x00732D}, {"\xAA\x6C", 0x00732F}, {"\xAA\x6D", 0x007330}, {"\xAA\x6E", 0x007332}, 
{"\xAA\x6F", 0x007333}, {"\xAA\x70", 0x007335}, {"\xAA\x71", 0x007336}, {"\xAA\x72", 0x00733A}, 
{"\xAA\x73", 0x00733B}, {"\xAA\x74", 0x00733C}, {"\xAA\x75", 0x00733D}, {"\xAA\x76", 0x007340}, 
{"\xAA\x77", 0x007341}, {"\xAA\x78", 0x007342}, {"\xAA\x79", 0x007343}, {"\xAA\x7A", 0x007344}, 
{"\xAA\x7B", 0x007345}, {"\xAA\x7C", 0x007346}, {"\xAA\x7D", 0x007347}, {"\xAA\x7E", 0x007348}, 
{"\xAA\x80", 0x007349}, {"\xAA\x81", 0x00734A}, {"\xAA\x82", 0x00734B}, {"\xAA\x83", 0x00734C}, 
{"\xAA\x84", 0x00734E}, {"\xAA\x85", 0x00734F}, {"\xAA\x86", 0x007351}, {"\xAA\x87", 0x007353}, 
{"\xAA\x88", 0x007354}, {"\xAA\x89", 0x007355}, {"\xAA\x8A", 0x007356}, {"\xAA\x8B", 0x007358}, 
{"\xAA\x8C", 0x007359}, {"\xAA\x8D", 0x00735A}, {"\xAA\x8E", 0x00735B}, {"\xAA\x8F", 0x00735C}, 
{"\xAA\x90", 0x00735D}, {"\xAA\x91", 0x00735E}, {"\xAA\x92", 0x00735F}, {"\xAA\x93", 0x007361}, 
{"\xAA\x94", 0x007362}, {"\xAA\x95", 0x007363}, {"\xAA\x96", 0x007364}, {"\xAA\x97", 0x007365}, 
{"\xAA\x98", 0x007366}, {"\xAA\x99", 0x007367}, {"\xAA\x9A", 0x007368}, {"\xAA\x9B", 0x007369}, 
{"\xAA\x9C", 0x00736A}, {"\xAA\x9D", 0x00736B}, {"\xAA\x9E", 0x00736E}, {"\xAA\x9F", 0x007370}, 
{"\xAA\xA0", 0x007371}, {"\xAA\xA1", 0x00E000}, {"\xAA\xA2", 0x00E001}, {"\xAA\xA3", 0x00E002}, 
{"\xAA\xA4", 0x00E003}, {"\xAA\xA5", 0x00E004}, {"\xAA\xA6", 0x00E005}, {"\xAA\xA7", 0x00E006}, 
{"\xAA\xA8", 0x00E007}, {"\xAA\xA9", 0x00E008}, {"\xAA\xAA", 0x00E009}, {"\xAA\xAB", 0x00E00A}, 
{"\xAA\xAC", 0x00E00B}, {"\xAA\xAD", 0x00E00C}, {"\xAA\xAE", 0x00E00D}, {"\xAA\xAF", 0x00E00E}, 
{"\xAA\xB0", 0x00E00F}, {"\xAA\xB1", 0x00E010}, {"\xAA\xB2", 0x00E011}, {"\xAA\xB3", 0x00E012}, 
{"\xAA\xB4", 0x00E013}, {"\xAA\xB5", 0x00E014}, {"\xAA\xB6", 0x00E015}, {"\xAA\xB7", 0x00E016}, 
{"\xAA\xB8", 0x00E017}, {"\xAA\xB9", 0x00E018}, {"\xAA\xBA", 0x00E019}, {"\xAA\xBB", 0x00E01A}, 
{"\xAA\xBC", 0x00E01B}, {"\xAA\xBD", 0x00E01C}, {"\xAA\xBE", 0x00E01D}, {"\xAA\xBF", 0x00E01E}, 
{"\xAA\xC0", 0x00E01F}, {"\xAA\xC1", 0x00E020}, {"\xAA\xC2", 0x00E021}, {"\xAA\xC3", 0x00E022}, 
{"\xAA\xC4", 0x00E023}, {"\xAA\xC5", 0x00E024}, {"\xAA\xC6", 0x00E025}, {"\xAA\xC7", 0x00E026}, 
{"\xAA\xC8", 0x00E027}, {"\xAA\xC9", 0x00E028}, {"\xAA\xCA", 0x00E029}, {"\xAA\xCB", 0x00E02A}, 
{"\xAA\xCC", 0x00E02B}, {"\xAA\xCD", 0x00E02C}, {"\xAA\xCE", 0x00E02D}, {"\xAA\xCF", 0x00E02E}, 
{"\xAA\xD0", 0x00E02F}, {"\xAA\xD1", 0x00E030}, {"\xAA\xD2", 0x00E031}, {"\xAA\xD3", 0x00E032}, 
{"\xAA\xD4", 0x00E033}, {"\xAA\xD5", 0x00E034}, {"\xAA\xD6", 0x00E035}, {"\xAA\xD7", 0x00E036}, 
{"\xAA\xD8", 0x00E037}, {"\xAA\xD9", 0x00E038}, {"\xAA\xDA", 0x00E039}, {"\xAA\xDB", 0x00E03A}, 
{"\xAA\xDC", 0x00E03B}, {"\xAA\xDD", 0x00E03C}, {"\xAA\xDE", 0x00E03D}, {"\xAA\xDF", 0x00E03E}, 
{"\xAA\xE0", 0x00E03F}, {"\xAA\xE1", 0x00E040}, {"\xAA\xE2", 0x00E041}, {"\xAA\xE3", 0x00E042}, 
{"\xAA\xE4", 0x00E043}, {"\xAA\xE5", 0x00E044}, {"\xAA\xE6", 0x00E045}, {"\xAA\xE7", 0x00E046}, 
{"\xAA\xE8", 0x00E047}, {"\xAA\xE9", 0x00E048}, {"\xAA\xEA", 0x00E049}, {"\xAA\xEB", 0x00E04A}, 
{"\xAA\xEC", 0x00E04B}, {"\xAA\xED", 0x00E04C}, {"\xAA\xEE", 0x00E04D}, {"\xAA\xEF", 0x00E04E}, 
{"\xAA\xF0", 0x00E04F}, {"\xAA\xF1", 0x00E050}, {"\xAA\xF2", 0x00E051}, {"\xAA\xF3", 0x00E052}, 
{"\xAA\xF4", 0x00E053}, {"\xAA\xF5", 0x00E054}, {"\xAA\xF6", 0x00E055}, {"\xAA\xF7", 0x00E056}, 
{"\xAA\xF8", 0x00E057}, {"\xAA\xF9", 0x00E058}, {"\xAA\xFA", 0x00E059}, {"\xAA\xFB", 0x00E05A}, 
{"\xAA\xFC", 0x00E05B}, {"\xAA\xFD", 0x00E05C}, {"\xAA\xFE", 0x00E05D}, {"\xAB\x40", 0x007372}, 
{"\xAB\x41", 0x007373}, {"\xAB\x42", 0x007374}, {"\xAB\x43", 0x007375}, {"\xAB\x44", 0x007376}, 
{"\xAB\x45", 0x007377}, {"\xAB\x46", 0x007378}, {"\xAB\x47", 0x007379}, {"\xAB\x48", 0x00737A}, 
{"\xAB\x49", 0x00737B}, {"\xAB\x4A", 0x00737C}, {"\xAB\x4B", 0x00737D}, {"\xAB\x4C", 0x00737F}, 
{"\xAB\x4D", 0x007380}, {"\xAB\x4E", 0x007381}, {"\xAB\x4F", 0x007382}, {"\xAB\x50", 0x007383}, 
{"\xAB\x51", 0x007385}, {"\xAB\x52", 0x007386}, {"\xAB\x53", 0x007388}, {"\xAB\x54", 0x00738A}, 
{"\xAB\x55", 0x00738C}, {"\xAB\x56", 0x00738D}, {"\xAB\x57", 0x00738F}, {"\xAB\x58", 0x007390}, 
{"\xAB\x59", 0x007392}, {"\xAB\x5A", 0x007393}, {"\xAB\x5B", 0x007394}, {"\xAB\x5C", 0x007395}, 
{"\xAB\x5D", 0x007397}, {"\xAB\x5E", 0x007398}, {"\xAB\x5F", 0x007399}, {"\xAB\x60", 0x00739A}, 
{"\xAB\x61", 0x00739C}, {"\xAB\x62", 0x00739D}, {"\xAB\x63", 0x00739E}, {"\xAB\x64", 0x0073A0}, 
{"\xAB\x65", 0x0073A1}, {"\xAB\x66", 0x0073A3}, {"\xAB\x67", 0x0073A4}, {"\xAB\x68", 0x0073A5}, 
{"\xAB\x69", 0x0073A6}, {"\xAB\x6A", 0x0073A7}, {"\xAB\x6B", 0x0073A8}, {"\xAB\x6C", 0x0073AA}, 
{"\xAB\x6D", 0x0073AC}, {"\xAB\x6E", 0x0073AD}, {"\xAB\x6F", 0x0073B1}, {"\xAB\x70", 0x0073B4}, 
{"\xAB\x71", 0x0073B5}, {"\xAB\x72", 0x0073B6}, {"\xAB\x73", 0x0073B8}, {"\xAB\x74", 0x0073B9}, 
{"\xAB\x75", 0x0073BC}, {"\xAB\x76", 0x0073BD}, {"\xAB\x77", 0x0073BE}, {"\xAB\x78", 0x0073BF}, 
{"\xAB\x79", 0x0073C1}, {"\xAB\x7A", 0x0073C3}, {"\xAB\x7B", 0x0073C4}, {"\xAB\x7C", 0x0073C5}, 
{"\xAB\x7D", 0x0073C6}, {"\xAB\x7E", 0x0073C7}, {"\xAB\x80", 0x0073CB}, {"\xAB\x81", 0x0073CC}, 
{"\xAB\x82", 0x0073CE}, {"\xAB\x83", 0x0073D2}, {"\xAB\x84", 0x0073D3}, {"\xAB\x85", 0x0073D4}, 
{"\xAB\x86", 0x0073D5}, {"\xAB\x87", 0x0073D6}, {"\xAB\x88", 0x0073D7}, {"\xAB\x89", 0x0073D8}, 
{"\xAB\x8A", 0x0073DA}, {"\xAB\x8B", 0x0073DB}, {"\xAB\x8C", 0x0073DC}, {"\xAB\x8D", 0x0073DD}, 
{"\xAB\x8E", 0x0073DF}, {"\xAB\x8F", 0x0073E1}, {"\xAB\x90", 0x0073E2}, {"\xAB\x91", 0x0073E3}, 
{"\xAB\x92", 0x0073E4}, {"\xAB\x93", 0x0073E6}, {"\xAB\x94", 0x0073E8}, {"\xAB\x95", 0x0073EA}, 

};
 for(size_t i=1; i<sizeof(db2bmp_1f_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_1f_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_20_gb18030_init()
{
static MB2UData db2bmp_20_gb18030 [] = { {"", 0}, 
{"\xAB\x96", 0x0073EB}, {"\xAB\x97", 0x0073EC}, {"\xAB\x98", 0x0073EE}, {"\xAB\x99", 0x0073EF}, 
{"\xAB\x9A", 0x0073F0}, {"\xAB\x9B", 0x0073F1}, {"\xAB\x9C", 0x0073F3}, {"\xAB\x9D", 0x0073F4}, 
{"\xAB\x9E", 0x0073F5}, {"\xAB\x9F", 0x0073F6}, {"\xAB\xA0", 0x0073F7}, {"\xAB\xA1", 0x00E05E}, 
{"\xAB\xA2", 0x00E05F}, {"\xAB\xA3", 0x00E060}, {"\xAB\xA4", 0x00E061}, {"\xAB\xA5", 0x00E062}, 
{"\xAB\xA6", 0x00E063}, {"\xAB\xA7", 0x00E064}, {"\xAB\xA8", 0x00E065}, {"\xAB\xA9", 0x00E066}, 
{"\xAB\xAA", 0x00E067}, {"\xAB\xAB", 0x00E068}, {"\xAB\xAC", 0x00E069}, {"\xAB\xAD", 0x00E06A}, 
{"\xAB\xAE", 0x00E06B}, {"\xAB\xAF", 0x00E06C}, {"\xAB\xB0", 0x00E06D}, {"\xAB\xB1", 0x00E06E}, 
{"\xAB\xB2", 0x00E06F}, {"\xAB\xB3", 0x00E070}, {"\xAB\xB4", 0x00E071}, {"\xAB\xB5", 0x00E072}, 
{"\xAB\xB6", 0x00E073}, {"\xAB\xB7", 0x00E074}, {"\xAB\xB8", 0x00E075}, {"\xAB\xB9", 0x00E076}, 
{"\xAB\xBA", 0x00E077}, {"\xAB\xBB", 0x00E078}, {"\xAB\xBC", 0x00E079}, {"\xAB\xBD", 0x00E07A}, 
{"\xAB\xBE", 0x00E07B}, {"\xAB\xBF", 0x00E07C}, {"\xAB\xC0", 0x00E07D}, {"\xAB\xC1", 0x00E07E}, 
{"\xAB\xC2", 0x00E07F}, {"\xAB\xC3", 0x00E080}, {"\xAB\xC4", 0x00E081}, {"\xAB\xC5", 0x00E082}, 
{"\xAB\xC6", 0x00E083}, {"\xAB\xC7", 0x00E084}, {"\xAB\xC8", 0x00E085}, {"\xAB\xC9", 0x00E086}, 
{"\xAB\xCA", 0x00E087}, {"\xAB\xCB", 0x00E088}, {"\xAB\xCC", 0x00E089}, {"\xAB\xCD", 0x00E08A}, 
{"\xAB\xCE", 0x00E08B}, {"\xAB\xCF", 0x00E08C}, {"\xAB\xD0", 0x00E08D}, {"\xAB\xD1", 0x00E08E}, 
{"\xAB\xD2", 0x00E08F}, {"\xAB\xD3", 0x00E090}, {"\xAB\xD4", 0x00E091}, {"\xAB\xD5", 0x00E092}, 
{"\xAB\xD6", 0x00E093}, {"\xAB\xD7", 0x00E094}, {"\xAB\xD8", 0x00E095}, {"\xAB\xD9", 0x00E096}, 
{"\xAB\xDA", 0x00E097}, {"\xAB\xDB", 0x00E098}, {"\xAB\xDC", 0x00E099}, {"\xAB\xDD", 0x00E09A}, 
{"\xAB\xDE", 0x00E09B}, {"\xAB\xDF", 0x00E09C}, {"\xAB\xE0", 0x00E09D}, {"\xAB\xE1", 0x00E09E}, 
{"\xAB\xE2", 0x00E09F}, {"\xAB\xE3", 0x00E0A0}, {"\xAB\xE4", 0x00E0A1}, {"\xAB\xE5", 0x00E0A2}, 
{"\xAB\xE6", 0x00E0A3}, {"\xAB\xE7", 0x00E0A4}, {"\xAB\xE8", 0x00E0A5}, {"\xAB\xE9", 0x00E0A6}, 
{"\xAB\xEA", 0x00E0A7}, {"\xAB\xEB", 0x00E0A8}, {"\xAB\xEC", 0x00E0A9}, {"\xAB\xED", 0x00E0AA}, 
{"\xAB\xEE", 0x00E0AB}, {"\xAB\xEF", 0x00E0AC}, {"\xAB\xF0", 0x00E0AD}, {"\xAB\xF1", 0x00E0AE}, 
{"\xAB\xF2", 0x00E0AF}, {"\xAB\xF3", 0x00E0B0}, {"\xAB\xF4", 0x00E0B1}, {"\xAB\xF5", 0x00E0B2}, 
{"\xAB\xF6", 0x00E0B3}, {"\xAB\xF7", 0x00E0B4}, {"\xAB\xF8", 0x00E0B5}, {"\xAB\xF9", 0x00E0B6}, 
{"\xAB\xFA", 0x00E0B7}, {"\xAB\xFB", 0x00E0B8}, {"\xAB\xFC", 0x00E0B9}, {"\xAB\xFD", 0x00E0BA}, 
{"\xAB\xFE", 0x00E0BB}, {"\xAC\x40", 0x0073F8}, {"\xAC\x41", 0x0073F9}, {"\xAC\x42", 0x0073FA}, 
{"\xAC\x43", 0x0073FB}, {"\xAC\x44", 0x0073FC}, {"\xAC\x45", 0x0073FD}, {"\xAC\x46", 0x0073FE}, 
{"\xAC\x47", 0x0073FF}, {"\xAC\x48", 0x007400}, {"\xAC\x49", 0x007401}, {"\xAC\x4A", 0x007402}, 
{"\xAC\x4B", 0x007404}, {"\xAC\x4C", 0x007407}, {"\xAC\x4D", 0x007408}, {"\xAC\x4E", 0x00740B}, 
{"\xAC\x4F", 0x00740C}, {"\xAC\x50", 0x00740D}, {"\xAC\x51", 0x00740E}, {"\xAC\x52", 0x007411}, 
{"\xAC\x53", 0x007412}, {"\xAC\x54", 0x007413}, {"\xAC\x55", 0x007414}, {"\xAC\x56", 0x007415}, 
{"\xAC\x57", 0x007416}, {"\xAC\x58", 0x007417}, {"\xAC\x59", 0x007418}, {"\xAC\x5A", 0x007419}, 
{"\xAC\x5B", 0x00741C}, {"\xAC\x5C", 0x00741D}, {"\xAC\x5D", 0x00741E}, {"\xAC\x5E", 0x00741F}, 
{"\xAC\x5F", 0x007420}, {"\xAC\x60", 0x007421}, {"\xAC\x61", 0x007423}, {"\xAC\x62", 0x007424}, 
{"\xAC\x63", 0x007427}, {"\xAC\x64", 0x007429}, {"\xAC\x65", 0x00742B}, {"\xAC\x66", 0x00742D}, 
{"\xAC\x67", 0x00742F}, {"\xAC\x68", 0x007431}, {"\xAC\x69", 0x007432}, {"\xAC\x6A", 0x007437}, 
{"\xAC\x6B", 0x007438}, {"\xAC\x6C", 0x007439}, {"\xAC\x6D", 0x00743A}, {"\xAC\x6E", 0x00743B}, 
{"\xAC\x6F", 0x00743D}, {"\xAC\x70", 0x00743E}, {"\xAC\x71", 0x00743F}, {"\xAC\x72", 0x007440}, 
{"\xAC\x73", 0x007442}, {"\xAC\x74", 0x007443}, {"\xAC\x75", 0x007444}, {"\xAC\x76", 0x007445}, 
{"\xAC\x77", 0x007446}, {"\xAC\x78", 0x007447}, {"\xAC\x79", 0x007448}, {"\xAC\x7A", 0x007449}, 
{"\xAC\x7B", 0x00744A}, {"\xAC\x7C", 0x00744B}, {"\xAC\x7D", 0x00744C}, {"\xAC\x7E", 0x00744D}, 
{"\xAC\x80", 0x00744E}, {"\xAC\x81", 0x00744F}, {"\xAC\x82", 0x007450}, {"\xAC\x83", 0x007451}, 
{"\xAC\x84", 0x007452}, {"\xAC\x85", 0x007453}, {"\xAC\x86", 0x007454}, {"\xAC\x87", 0x007456}, 
{"\xAC\x88", 0x007458}, {"\xAC\x89", 0x00745D}, {"\xAC\x8A", 0x007460}, {"\xAC\x8B", 0x007461}, 
{"\xAC\x8C", 0x007462}, {"\xAC\x8D", 0x007463}, {"\xAC\x8E", 0x007464}, {"\xAC\x8F", 0x007465}, 
{"\xAC\x90", 0x007466}, {"\xAC\x91", 0x007467}, {"\xAC\x92", 0x007468}, {"\xAC\x93", 0x007469}, 
{"\xAC\x94", 0x00746A}, {"\xAC\x95", 0x00746B}, {"\xAC\x96", 0x00746C}, {"\xAC\x97", 0x00746E}, 
{"\xAC\x98", 0x00746F}, {"\xAC\x99", 0x007471}, {"\xAC\x9A", 0x007472}, {"\xAC\x9B", 0x007473}, 
{"\xAC\x9C", 0x007474}, {"\xAC\x9D", 0x007475}, {"\xAC\x9E", 0x007478}, {"\xAC\x9F", 0x007479}, 
{"\xAC\xA0", 0x00747A}, {"\xAC\xA1", 0x00E0BC}, {"\xAC\xA2", 0x00E0BD}, {"\xAC\xA3", 0x00E0BE}, 
{"\xAC\xA4", 0x00E0BF}, {"\xAC\xA5", 0x00E0C0}, {"\xAC\xA6", 0x00E0C1}, {"\xAC\xA7", 0x00E0C2}, 
{"\xAC\xA8", 0x00E0C3}, {"\xAC\xA9", 0x00E0C4}, {"\xAC\xAA", 0x00E0C5}, {"\xAC\xAB", 0x00E0C6}, 
{"\xAC\xAC", 0x00E0C7}, {"\xAC\xAD", 0x00E0C8}, {"\xAC\xAE", 0x00E0C9}, {"\xAC\xAF", 0x00E0CA}, 
{"\xAC\xB0", 0x00E0CB}, {"\xAC\xB1", 0x00E0CC}, {"\xAC\xB2", 0x00E0CD}, {"\xAC\xB3", 0x00E0CE}, 
{"\xAC\xB4", 0x00E0CF}, {"\xAC\xB5", 0x00E0D0}, {"\xAC\xB6", 0x00E0D1}, {"\xAC\xB7", 0x00E0D2}, 
{"\xAC\xB8", 0x00E0D3}, {"\xAC\xB9", 0x00E0D4}, {"\xAC\xBA", 0x00E0D5}, {"\xAC\xBB", 0x00E0D6}, 
{"\xAC\xBC", 0x00E0D7}, {"\xAC\xBD", 0x00E0D8}, {"\xAC\xBE", 0x00E0D9}, {"\xAC\xBF", 0x00E0DA}, 
{"\xAC\xC0", 0x00E0DB}, {"\xAC\xC1", 0x00E0DC}, {"\xAC\xC2", 0x00E0DD}, {"\xAC\xC3", 0x00E0DE}, 
{"\xAC\xC4", 0x00E0DF}, {"\xAC\xC5", 0x00E0E0}, {"\xAC\xC6", 0x00E0E1}, {"\xAC\xC7", 0x00E0E2}, 
{"\xAC\xC8", 0x00E0E3}, {"\xAC\xC9", 0x00E0E4}, {"\xAC\xCA", 0x00E0E5}, {"\xAC\xCB", 0x00E0E6}, 
{"\xAC\xCC", 0x00E0E7}, {"\xAC\xCD", 0x00E0E8}, {"\xAC\xCE", 0x00E0E9}, {"\xAC\xCF", 0x00E0EA}, 
{"\xAC\xD0", 0x00E0EB}, {"\xAC\xD1", 0x00E0EC}, {"\xAC\xD2", 0x00E0ED}, {"\xAC\xD3", 0x00E0EE}, 
{"\xAC\xD4", 0x00E0EF}, {"\xAC\xD5", 0x00E0F0}, {"\xAC\xD6", 0x00E0F1}, {"\xAC\xD7", 0x00E0F2}, 

};
 for(size_t i=1; i<sizeof(db2bmp_20_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_20_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_21_gb18030_init()
{
static MB2UData db2bmp_21_gb18030 [] = { {"", 0}, 
{"\xAC\xD8", 0x00E0F3}, {"\xAC\xD9", 0x00E0F4}, {"\xAC\xDA", 0x00E0F5}, {"\xAC\xDB", 0x00E0F6}, 
{"\xAC\xDC", 0x00E0F7}, {"\xAC\xDD", 0x00E0F8}, {"\xAC\xDE", 0x00E0F9}, {"\xAC\xDF", 0x00E0FA}, 
{"\xAC\xE0", 0x00E0FB}, {"\xAC\xE1", 0x00E0FC}, {"\xAC\xE2", 0x00E0FD}, {"\xAC\xE3", 0x00E0FE}, 
{"\xAC\xE4", 0x00E0FF}, {"\xAC\xE5", 0x00E100}, {"\xAC\xE6", 0x00E101}, {"\xAC\xE7", 0x00E102}, 
{"\xAC\xE8", 0x00E103}, {"\xAC\xE9", 0x00E104}, {"\xAC\xEA", 0x00E105}, {"\xAC\xEB", 0x00E106}, 
{"\xAC\xEC", 0x00E107}, {"\xAC\xED", 0x00E108}, {"\xAC\xEE", 0x00E109}, {"\xAC\xEF", 0x00E10A}, 
{"\xAC\xF0", 0x00E10B}, {"\xAC\xF1", 0x00E10C}, {"\xAC\xF2", 0x00E10D}, {"\xAC\xF3", 0x00E10E}, 
{"\xAC\xF4", 0x00E10F}, {"\xAC\xF5", 0x00E110}, {"\xAC\xF6", 0x00E111}, {"\xAC\xF7", 0x00E112}, 
{"\xAC\xF8", 0x00E113}, {"\xAC\xF9", 0x00E114}, {"\xAC\xFA", 0x00E115}, {"\xAC\xFB", 0x00E116}, 
{"\xAC\xFC", 0x00E117}, {"\xAC\xFD", 0x00E118}, {"\xAC\xFE", 0x00E119}, {"\xAD\x40", 0x00747B}, 
{"\xAD\x41", 0x00747C}, {"\xAD\x42", 0x00747D}, {"\xAD\x43", 0x00747F}, {"\xAD\x44", 0x007482}, 
{"\xAD\x45", 0x007484}, {"\xAD\x46", 0x007485}, {"\xAD\x47", 0x007486}, {"\xAD\x48", 0x007488}, 
{"\xAD\x49", 0x007489}, {"\xAD\x4A", 0x00748A}, {"\xAD\x4B", 0x00748C}, {"\xAD\x4C", 0x00748D}, 
{"\xAD\x4D", 0x00748F}, {"\xAD\x4E", 0x007491}, {"\xAD\x4F", 0x007492}, {"\xAD\x50", 0x007493}, 
{"\xAD\x51", 0x007494}, {"\xAD\x52", 0x007495}, {"\xAD\x53", 0x007496}, {"\xAD\x54", 0x007497}, 
{"\xAD\x55", 0x007498}, {"\xAD\x56", 0x007499}, {"\xAD\x57", 0x00749A}, {"\xAD\x58", 0x00749B}, 
{"\xAD\x59", 0x00749D}, {"\xAD\x5A", 0x00749F}, {"\xAD\x5B", 0x0074A0}, {"\xAD\x5C", 0x0074A1}, 
{"\xAD\x5D", 0x0074A2}, {"\xAD\x5E", 0x0074A3}, {"\xAD\x5F", 0x0074A4}, {"\xAD\x60", 0x0074A5}, 
{"\xAD\x61", 0x0074A6}, {"\xAD\x62", 0x0074AA}, {"\xAD\x63", 0x0074AB}, {"\xAD\x64", 0x0074AC}, 
{"\xAD\x65", 0x0074AD}, {"\xAD\x66", 0x0074AE}, {"\xAD\x67", 0x0074AF}, {"\xAD\x68", 0x0074B0}, 
{"\xAD\x69", 0x0074B1}, {"\xAD\x6A", 0x0074B2}, {"\xAD\x6B", 0x0074B3}, {"\xAD\x6C", 0x0074B4}, 
{"\xAD\x6D", 0x0074B5}, {"\xAD\x6E", 0x0074B6}, {"\xAD\x6F", 0x0074B7}, {"\xAD\x70", 0x0074B8}, 
{"\xAD\x71", 0x0074B9}, {"\xAD\x72", 0x0074BB}, {"\xAD\x73", 0x0074BC}, {"\xAD\x74", 0x0074BD}, 
{"\xAD\x75", 0x0074BE}, {"\xAD\x76", 0x0074BF}, {"\xAD\x77", 0x0074C0}, {"\xAD\x78", 0x0074C1}, 
{"\xAD\x79", 0x0074C2}, {"\xAD\x7A", 0x0074C3}, {"\xAD\x7B", 0x0074C4}, {"\xAD\x7C", 0x0074C5}, 
{"\xAD\x7D", 0x0074C6}, {"\xAD\x7E", 0x0074C7}, {"\xAD\x80", 0x0074C8}, {"\xAD\x81", 0x0074C9}, 
{"\xAD\x82", 0x0074CA}, {"\xAD\x83", 0x0074CB}, {"\xAD\x84", 0x0074CC}, {"\xAD\x85", 0x0074CD}, 
{"\xAD\x86", 0x0074CE}, {"\xAD\x87", 0x0074CF}, {"\xAD\x88", 0x0074D0}, {"\xAD\x89", 0x0074D1}, 
{"\xAD\x8A", 0x0074D3}, {"\xAD\x8B", 0x0074D4}, {"\xAD\x8C", 0x0074D5}, {"\xAD\x8D", 0x0074D6}, 
{"\xAD\x8E", 0x0074D7}, {"\xAD\x8F", 0x0074D8}, {"\xAD\x90", 0x0074D9}, {"\xAD\x91", 0x0074DA}, 
{"\xAD\x92", 0x0074DB}, {"\xAD\x93", 0x0074DD}, {"\xAD\x94", 0x0074DF}, {"\xAD\x95", 0x0074E1}, 
{"\xAD\x96", 0x0074E5}, {"\xAD\x97", 0x0074E7}, {"\xAD\x98", 0x0074E8}, {"\xAD\x99", 0x0074E9}, 
{"\xAD\x9A", 0x0074EA}, {"\xAD\x9B", 0x0074EB}, {"\xAD\x9C", 0x0074EC}, {"\xAD\x9D", 0x0074ED}, 
{"\xAD\x9E", 0x0074F0}, {"\xAD\x9F", 0x0074F1}, {"\xAD\xA0", 0x0074F2}, {"\xAD\xA1", 0x00E11A}, 
{"\xAD\xA2", 0x00E11B}, {"\xAD\xA3", 0x00E11C}, {"\xAD\xA4", 0x00E11D}, {"\xAD\xA5", 0x00E11E}, 
{"\xAD\xA6", 0x00E11F}, {"\xAD\xA7", 0x00E120}, {"\xAD\xA8", 0x00E121}, {"\xAD\xA9", 0x00E122}, 
{"\xAD\xAA", 0x00E123}, {"\xAD\xAB", 0x00E124}, {"\xAD\xAC", 0x00E125}, {"\xAD\xAD", 0x00E126}, 
{"\xAD\xAE", 0x00E127}, {"\xAD\xAF", 0x00E128}, {"\xAD\xB0", 0x00E129}, {"\xAD\xB1", 0x00E12A}, 
{"\xAD\xB2", 0x00E12B}, {"\xAD\xB3", 0x00E12C}, {"\xAD\xB4", 0x00E12D}, {"\xAD\xB5", 0x00E12E}, 
{"\xAD\xB6", 0x00E12F}, {"\xAD\xB7", 0x00E130}, {"\xAD\xB8", 0x00E131}, {"\xAD\xB9", 0x00E132}, 
{"\xAD\xBA", 0x00E133}, {"\xAD\xBB", 0x00E134}, {"\xAD\xBC", 0x00E135}, {"\xAD\xBD", 0x00E136}, 
{"\xAD\xBE", 0x00E137}, {"\xAD\xBF", 0x00E138}, {"\xAD\xC0", 0x00E139}, {"\xAD\xC1", 0x00E13A}, 
{"\xAD\xC2", 0x00E13B}, {"\xAD\xC3", 0x00E13C}, {"\xAD\xC4", 0x00E13D}, {"\xAD\xC5", 0x00E13E}, 
{"\xAD\xC6", 0x00E13F}, {"\xAD\xC7", 0x00E140}, {"\xAD\xC8", 0x00E141}, {"\xAD\xC9", 0x00E142}, 
{"\xAD\xCA", 0x00E143}, {"\xAD\xCB", 0x00E144}, {"\xAD\xCC", 0x00E145}, {"\xAD\xCD", 0x00E146}, 
{"\xAD\xCE", 0x00E147}, {"\xAD\xCF", 0x00E148}, {"\xAD\xD0", 0x00E149}, {"\xAD\xD1", 0x00E14A}, 
{"\xAD\xD2", 0x00E14B}, {"\xAD\xD3", 0x00E14C}, {"\xAD\xD4", 0x00E14D}, {"\xAD\xD5", 0x00E14E}, 
{"\xAD\xD6", 0x00E14F}, {"\xAD\xD7", 0x00E150}, {"\xAD\xD8", 0x00E151}, {"\xAD\xD9", 0x00E152}, 
{"\xAD\xDA", 0x00E153}, {"\xAD\xDB", 0x00E154}, {"\xAD\xDC", 0x00E155}, {"\xAD\xDD", 0x00E156}, 
{"\xAD\xDE", 0x00E157}, {"\xAD\xDF", 0x00E158}, {"\xAD\xE0", 0x00E159}, {"\xAD\xE1", 0x00E15A}, 
{"\xAD\xE2", 0x00E15B}, {"\xAD\xE3", 0x00E15C}, {"\xAD\xE4", 0x00E15D}, {"\xAD\xE5", 0x00E15E}, 
{"\xAD\xE6", 0x00E15F}, {"\xAD\xE7", 0x00E160}, {"\xAD\xE8", 0x00E161}, {"\xAD\xE9", 0x00E162}, 
{"\xAD\xEA", 0x00E163}, {"\xAD\xEB", 0x00E164}, {"\xAD\xEC", 0x00E165}, {"\xAD\xED", 0x00E166}, 
{"\xAD\xEE", 0x00E167}, {"\xAD\xEF", 0x00E168}, {"\xAD\xF0", 0x00E169}, {"\xAD\xF1", 0x00E16A}, 
{"\xAD\xF2", 0x00E16B}, {"\xAD\xF3", 0x00E16C}, {"\xAD\xF4", 0x00E16D}, {"\xAD\xF5", 0x00E16E}, 
{"\xAD\xF6", 0x00E16F}, {"\xAD\xF7", 0x00E170}, {"\xAD\xF8", 0x00E171}, {"\xAD\xF9", 0x00E172}, 
{"\xAD\xFA", 0x00E173}, {"\xAD\xFB", 0x00E174}, {"\xAD\xFC", 0x00E175}, {"\xAD\xFD", 0x00E176}, 
{"\xAD\xFE", 0x00E177}, {"\xAE\x40", 0x0074F3}, {"\xAE\x41", 0x0074F5}, {"\xAE\x42", 0x0074F8}, 
{"\xAE\x43", 0x0074F9}, {"\xAE\x44", 0x0074FA}, {"\xAE\x45", 0x0074FB}, {"\xAE\x46", 0x0074FC}, 
{"\xAE\x47", 0x0074FD}, {"\xAE\x48", 0x0074FE}, {"\xAE\x49", 0x007500}, {"\xAE\x4A", 0x007501}, 
{"\xAE\x4B", 0x007502}, {"\xAE\x4C", 0x007503}, {"\xAE\x4D", 0x007505}, {"\xAE\x4E", 0x007506}, 
{"\xAE\x4F", 0x007507}, {"\xAE\x50", 0x007508}, {"\xAE\x51", 0x007509}, {"\xAE\x52", 0x00750A}, 
{"\xAE\x53", 0x00750B}, {"\xAE\x54", 0x00750C}, {"\xAE\x55", 0x00750E}, {"\xAE\x56", 0x007510}, 
{"\xAE\x57", 0x007512}, {"\xAE\x58", 0x007514}, {"\xAE\x59", 0x007515}, {"\xAE\x5A", 0x007516}, 

};
 for(size_t i=1; i<sizeof(db2bmp_21_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_21_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_22_gb18030_init()
{
static MB2UData db2bmp_22_gb18030 [] = { {"", 0}, 
{"\xAE\x5B", 0x007517}, {"\xAE\x5C", 0x00751B}, {"\xAE\x5D", 0x00751D}, {"\xAE\x5E", 0x00751E}, 
{"\xAE\x5F", 0x007520}, {"\xAE\x60", 0x007521}, {"\xAE\x61", 0x007522}, {"\xAE\x62", 0x007523}, 
{"\xAE\x63", 0x007524}, {"\xAE\x64", 0x007526}, {"\xAE\x65", 0x007527}, {"\xAE\x66", 0x00752A}, 
{"\xAE\x67", 0x00752E}, {"\xAE\x68", 0x007534}, {"\xAE\x69", 0x007536}, {"\xAE\x6A", 0x007539}, 
{"\xAE\x6B", 0x00753C}, {"\xAE\x6C", 0x00753D}, {"\xAE\x6D", 0x00753F}, {"\xAE\x6E", 0x007541}, 
{"\xAE\x6F", 0x007542}, {"\xAE\x70", 0x007543}, {"\xAE\x71", 0x007544}, {"\xAE\x72", 0x007546}, 
{"\xAE\x73", 0x007547}, {"\xAE\x74", 0x007549}, {"\xAE\x75", 0x00754A}, {"\xAE\x76", 0x00754D}, 
{"\xAE\x77", 0x007550}, {"\xAE\x78", 0x007551}, {"\xAE\x79", 0x007552}, {"\xAE\x7A", 0x007553}, 
{"\xAE\x7B", 0x007555}, {"\xAE\x7C", 0x007556}, {"\xAE\x7D", 0x007557}, {"\xAE\x7E", 0x007558}, 
{"\xAE\x80", 0x00755D}, {"\xAE\x81", 0x00755E}, {"\xAE\x82", 0x00755F}, {"\xAE\x83", 0x007560}, 
{"\xAE\x84", 0x007561}, {"\xAE\x85", 0x007562}, {"\xAE\x86", 0x007563}, {"\xAE\x87", 0x007564}, 
{"\xAE\x88", 0x007567}, {"\xAE\x89", 0x007568}, {"\xAE\x8A", 0x007569}, {"\xAE\x8B", 0x00756B}, 
{"\xAE\x8C", 0x00756C}, {"\xAE\x8D", 0x00756D}, {"\xAE\x8E", 0x00756E}, {"\xAE\x8F", 0x00756F}, 
{"\xAE\x90", 0x007570}, {"\xAE\x91", 0x007571}, {"\xAE\x92", 0x007573}, {"\xAE\x93", 0x007575}, 
{"\xAE\x94", 0x007576}, {"\xAE\x95", 0x007577}, {"\xAE\x96", 0x00757A}, {"\xAE\x97", 0x00757B}, 
{"\xAE\x98", 0x00757C}, {"\xAE\x99", 0x00757D}, {"\xAE\x9A", 0x00757E}, {"\xAE\x9B", 0x007580}, 
{"\xAE\x9C", 0x007581}, {"\xAE\x9D", 0x007582}, {"\xAE\x9E", 0x007584}, {"\xAE\x9F", 0x007585}, 
{"\xAE\xA0", 0x007587}, {"\xAE\xA1", 0x00E178}, {"\xAE\xA2", 0x00E179}, {"\xAE\xA3", 0x00E17A}, 
{"\xAE\xA4", 0x00E17B}, {"\xAE\xA5", 0x00E17C}, {"\xAE\xA6", 0x00E17D}, {"\xAE\xA7", 0x00E17E}, 
{"\xAE\xA8", 0x00E17F}, {"\xAE\xA9", 0x00E180}, {"\xAE\xAA", 0x00E181}, {"\xAE\xAB", 0x00E182}, 
{"\xAE\xAC", 0x00E183}, {"\xAE\xAD", 0x00E184}, {"\xAE\xAE", 0x00E185}, {"\xAE\xAF", 0x00E186}, 
{"\xAE\xB0", 0x00E187}, {"\xAE\xB1", 0x00E188}, {"\xAE\xB2", 0x00E189}, {"\xAE\xB3", 0x00E18A}, 
{"\xAE\xB4", 0x00E18B}, {"\xAE\xB5", 0x00E18C}, {"\xAE\xB6", 0x00E18D}, {"\xAE\xB7", 0x00E18E}, 
{"\xAE\xB8", 0x00E18F}, {"\xAE\xB9", 0x00E190}, {"\xAE\xBA", 0x00E191}, {"\xAE\xBB", 0x00E192}, 
{"\xAE\xBC", 0x00E193}, {"\xAE\xBD", 0x00E194}, {"\xAE\xBE", 0x00E195}, {"\xAE\xBF", 0x00E196}, 
{"\xAE\xC0", 0x00E197}, {"\xAE\xC1", 0x00E198}, {"\xAE\xC2", 0x00E199}, {"\xAE\xC3", 0x00E19A}, 
{"\xAE\xC4", 0x00E19B}, {"\xAE\xC5", 0x00E19C}, {"\xAE\xC6", 0x00E19D}, {"\xAE\xC7", 0x00E19E}, 
{"\xAE\xC8", 0x00E19F}, {"\xAE\xC9", 0x00E1A0}, {"\xAE\xCA", 0x00E1A1}, {"\xAE\xCB", 0x00E1A2}, 
{"\xAE\xCC", 0x00E1A3}, {"\xAE\xCD", 0x00E1A4}, {"\xAE\xCE", 0x00E1A5}, {"\xAE\xCF", 0x00E1A6}, 
{"\xAE\xD0", 0x00E1A7}, {"\xAE\xD1", 0x00E1A8}, {"\xAE\xD2", 0x00E1A9}, {"\xAE\xD3", 0x00E1AA}, 
{"\xAE\xD4", 0x00E1AB}, {"\xAE\xD5", 0x00E1AC}, {"\xAE\xD6", 0x00E1AD}, {"\xAE\xD7", 0x00E1AE}, 
{"\xAE\xD8", 0x00E1AF}, {"\xAE\xD9", 0x00E1B0}, {"\xAE\xDA", 0x00E1B1}, {"\xAE\xDB", 0x00E1B2}, 
{"\xAE\xDC", 0x00E1B3}, {"\xAE\xDD", 0x00E1B4}, {"\xAE\xDE", 0x00E1B5}, {"\xAE\xDF", 0x00E1B6}, 
{"\xAE\xE0", 0x00E1B7}, {"\xAE\xE1", 0x00E1B8}, {"\xAE\xE2", 0x00E1B9}, {"\xAE\xE3", 0x00E1BA}, 
{"\xAE\xE4", 0x00E1BB}, {"\xAE\xE5", 0x00E1BC}, {"\xAE\xE6", 0x00E1BD}, {"\xAE\xE7", 0x00E1BE}, 
{"\xAE\xE8", 0x00E1BF}, {"\xAE\xE9", 0x00E1C0}, {"\xAE\xEA", 0x00E1C1}, {"\xAE\xEB", 0x00E1C2}, 
{"\xAE\xEC", 0x00E1C3}, {"\xAE\xED", 0x00E1C4}, {"\xAE\xEE", 0x00E1C5}, {"\xAE\xEF", 0x00E1C6}, 
{"\xAE\xF0", 0x00E1C7}, {"\xAE\xF1", 0x00E1C8}, {"\xAE\xF2", 0x00E1C9}, {"\xAE\xF3", 0x00E1CA}, 
{"\xAE\xF4", 0x00E1CB}, {"\xAE\xF5", 0x00E1CC}, {"\xAE\xF6", 0x00E1CD}, {"\xAE\xF7", 0x00E1CE}, 
{"\xAE\xF8", 0x00E1CF}, {"\xAE\xF9", 0x00E1D0}, {"\xAE\xFA", 0x00E1D1}, {"\xAE\xFB", 0x00E1D2}, 
{"\xAE\xFC", 0x00E1D3}, {"\xAE\xFD", 0x00E1D4}, {"\xAE\xFE", 0x00E1D5}, {"\xAF\x40", 0x007588}, 
{"\xAF\x41", 0x007589}, {"\xAF\x42", 0x00758A}, {"\xAF\x43", 0x00758C}, {"\xAF\x44", 0x00758D}, 
{"\xAF\x45", 0x00758E}, {"\xAF\x46", 0x007590}, {"\xAF\x47", 0x007593}, {"\xAF\x48", 0x007595}, 
{"\xAF\x49", 0x007598}, {"\xAF\x4A", 0x00759B}, {"\xAF\x4B", 0x00759C}, {"\xAF\x4C", 0x00759E}, 
{"\xAF\x4D", 0x0075A2}, {"\xAF\x4E", 0x0075A6}, {"\xAF\x4F", 0x0075A7}, {"\xAF\x50", 0x0075A8}, 
{"\xAF\x51", 0x0075A9}, {"\xAF\x52", 0x0075AA}, {"\xAF\x53", 0x0075AD}, {"\xAF\x54", 0x0075B6}, 
{"\xAF\x55", 0x0075B7}, {"\xAF\x56", 0x0075BA}, {"\xAF\x57", 0x0075BB}, {"\xAF\x58", 0x0075BF}, 
{"\xAF\x59", 0x0075C0}, {"\xAF\x5A", 0x0075C1}, {"\xAF\x5B", 0x0075C6}, {"\xAF\x5C", 0x0075CB}, 
{"\xAF\x5D", 0x0075CC}, {"\xAF\x5E", 0x0075CE}, {"\xAF\x5F", 0x0075CF}, {"\xAF\x60", 0x0075D0}, 
{"\xAF\x61", 0x0075D1}, {"\xAF\x62", 0x0075D3}, {"\xAF\x63", 0x0075D7}, {"\xAF\x64", 0x0075D9}, 
{"\xAF\x65", 0x0075DA}, {"\xAF\x66", 0x0075DC}, {"\xAF\x67", 0x0075DD}, {"\xAF\x68", 0x0075DF}, 
{"\xAF\x69", 0x0075E0}, {"\xAF\x6A", 0x0075E1}, {"\xAF\x6B", 0x0075E5}, {"\xAF\x6C", 0x0075E9}, 
{"\xAF\x6D", 0x0075EC}, {"\xAF\x6E", 0x0075ED}, {"\xAF\x6F", 0x0075EE}, {"\xAF\x70", 0x0075EF}, 
{"\xAF\x71", 0x0075F2}, {"\xAF\x72", 0x0075F3}, {"\xAF\x73", 0x0075F5}, {"\xAF\x74", 0x0075F6}, 
{"\xAF\x75", 0x0075F7}, {"\xAF\x76", 0x0075F8}, {"\xAF\x77", 0x0075FA}, {"\xAF\x78", 0x0075FB}, 
{"\xAF\x79", 0x0075FD}, {"\xAF\x7A", 0x0075FE}, {"\xAF\x7B", 0x007602}, {"\xAF\x7C", 0x007604}, 
{"\xAF\x7D", 0x007606}, {"\xAF\x7E", 0x007607}, {"\xAF\x80", 0x007608}, {"\xAF\x81", 0x007609}, 
{"\xAF\x82", 0x00760B}, {"\xAF\x83", 0x00760D}, {"\xAF\x84", 0x00760E}, {"\xAF\x85", 0x00760F}, 
{"\xAF\x86", 0x007611}, {"\xAF\x87", 0x007612}, {"\xAF\x88", 0x007613}, {"\xAF\x89", 0x007614}, 
{"\xAF\x8A", 0x007616}, {"\xAF\x8B", 0x00761A}, {"\xAF\x8C", 0x00761C}, {"\xAF\x8D", 0x00761D}, 
{"\xAF\x8E", 0x00761E}, {"\xAF\x8F", 0x007621}, {"\xAF\x90", 0x007623}, {"\xAF\x91", 0x007627}, 
{"\xAF\x92", 0x007628}, {"\xAF\x93", 0x00762C}, {"\xAF\x94", 0x00762E}, {"\xAF\x95", 0x00762F}, 
{"\xAF\x96", 0x007631}, {"\xAF\x97", 0x007632}, {"\xAF\x98", 0x007636}, {"\xAF\x99", 0x007637}, 
{"\xAF\x9A", 0x007639}, {"\xAF\x9B", 0x00763A}, {"\xAF\x9C", 0x00763B}, {"\xAF\x9D", 0x00763D}, 

};
 for(size_t i=1; i<sizeof(db2bmp_22_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_22_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_23_gb18030_init()
{
static MB2UData db2bmp_23_gb18030 [] = { {"", 0}, 
{"\xAF\x9E", 0x007641}, {"\xAF\x9F", 0x007642}, {"\xAF\xA0", 0x007644}, {"\xAF\xA1", 0x00E1D6}, 
{"\xAF\xA2", 0x00E1D7}, {"\xAF\xA3", 0x00E1D8}, {"\xAF\xA4", 0x00E1D9}, {"\xAF\xA5", 0x00E1DA}, 
{"\xAF\xA6", 0x00E1DB}, {"\xAF\xA7", 0x00E1DC}, {"\xAF\xA8", 0x00E1DD}, {"\xAF\xA9", 0x00E1DE}, 
{"\xAF\xAA", 0x00E1DF}, {"\xAF\xAB", 0x00E1E0}, {"\xAF\xAC", 0x00E1E1}, {"\xAF\xAD", 0x00E1E2}, 
{"\xAF\xAE", 0x00E1E3}, {"\xAF\xAF", 0x00E1E4}, {"\xAF\xB0", 0x00E1E5}, {"\xAF\xB1", 0x00E1E6}, 
{"\xAF\xB2", 0x00E1E7}, {"\xAF\xB3", 0x00E1E8}, {"\xAF\xB4", 0x00E1E9}, {"\xAF\xB5", 0x00E1EA}, 
{"\xAF\xB6", 0x00E1EB}, {"\xAF\xB7", 0x00E1EC}, {"\xAF\xB8", 0x00E1ED}, {"\xAF\xB9", 0x00E1EE}, 
{"\xAF\xBA", 0x00E1EF}, {"\xAF\xBB", 0x00E1F0}, {"\xAF\xBC", 0x00E1F1}, {"\xAF\xBD", 0x00E1F2}, 
{"\xAF\xBE", 0x00E1F3}, {"\xAF\xBF", 0x00E1F4}, {"\xAF\xC0", 0x00E1F5}, {"\xAF\xC1", 0x00E1F6}, 
{"\xAF\xC2", 0x00E1F7}, {"\xAF\xC3", 0x00E1F8}, {"\xAF\xC4", 0x00E1F9}, {"\xAF\xC5", 0x00E1FA}, 
{"\xAF\xC6", 0x00E1FB}, {"\xAF\xC7", 0x00E1FC}, {"\xAF\xC8", 0x00E1FD}, {"\xAF\xC9", 0x00E1FE}, 
{"\xAF\xCA", 0x00E1FF}, {"\xAF\xCB", 0x00E200}, {"\xAF\xCC", 0x00E201}, {"\xAF\xCD", 0x00E202}, 
{"\xAF\xCE", 0x00E203}, {"\xAF\xCF", 0x00E204}, {"\xAF\xD0", 0x00E205}, {"\xAF\xD1", 0x00E206}, 
{"\xAF\xD2", 0x00E207}, {"\xAF\xD3", 0x00E208}, {"\xAF\xD4", 0x00E209}, {"\xAF\xD5", 0x00E20A}, 
{"\xAF\xD6", 0x00E20B}, {"\xAF\xD7", 0x00E20C}, {"\xAF\xD8", 0x00E20D}, {"\xAF\xD9", 0x00E20E}, 
{"\xAF\xDA", 0x00E20F}, {"\xAF\xDB", 0x00E210}, {"\xAF\xDC", 0x00E211}, {"\xAF\xDD", 0x00E212}, 
{"\xAF\xDE", 0x00E213}, {"\xAF\xDF", 0x00E214}, {"\xAF\xE0", 0x00E215}, {"\xAF\xE1", 0x00E216}, 
{"\xAF\xE2", 0x00E217}, {"\xAF\xE3", 0x00E218}, {"\xAF\xE4", 0x00E219}, {"\xAF\xE5", 0x00E21A}, 
{"\xAF\xE6", 0x00E21B}, {"\xAF\xE7", 0x00E21C}, {"\xAF\xE8", 0x00E21D}, {"\xAF\xE9", 0x00E21E}, 
{"\xAF\xEA", 0x00E21F}, {"\xAF\xEB", 0x00E220}, {"\xAF\xEC", 0x00E221}, {"\xAF\xED", 0x00E222}, 
{"\xAF\xEE", 0x00E223}, {"\xAF\xEF", 0x00E224}, {"\xAF\xF0", 0x00E225}, {"\xAF\xF1", 0x00E226}, 
{"\xAF\xF2", 0x00E227}, {"\xAF\xF3", 0x00E228}, {"\xAF\xF4", 0x00E229}, {"\xAF\xF5", 0x00E22A}, 
{"\xAF\xF6", 0x00E22B}, {"\xAF\xF7", 0x00E22C}, {"\xAF\xF8", 0x00E22D}, {"\xAF\xF9", 0x00E22E}, 
{"\xAF\xFA", 0x00E22F}, {"\xAF\xFB", 0x00E230}, {"\xAF\xFC", 0x00E231}, {"\xAF\xFD", 0x00E232}, 
{"\xAF\xFE", 0x00E233}, {"\xB0\x40", 0x007645}, {"\xB0\x41", 0x007646}, {"\xB0\x42", 0x007647}, 
{"\xB0\x43", 0x007648}, {"\xB0\x44", 0x007649}, {"\xB0\x45", 0x00764A}, {"\xB0\x46", 0x00764B}, 
{"\xB0\x47", 0x00764E}, {"\xB0\x48", 0x00764F}, {"\xB0\x49", 0x007650}, {"\xB0\x4A", 0x007651}, 
{"\xB0\x4B", 0x007652}, {"\xB0\x4C", 0x007653}, {"\xB0\x4D", 0x007655}, {"\xB0\x4E", 0x007657}, 
{"\xB0\x4F", 0x007658}, {"\xB0\x50", 0x007659}, {"\xB0\x51", 0x00765A}, {"\xB0\x52", 0x00765B}, 
{"\xB0\x53", 0x00765D}, {"\xB0\x54", 0x00765F}, {"\xB0\x55", 0x007660}, {"\xB0\x56", 0x007661}, 
{"\xB0\x57", 0x007662}, {"\xB0\x58", 0x007664}, {"\xB0\x59", 0x007665}, {"\xB0\x5A", 0x007666}, 
{"\xB0\x5B", 0x007667}, {"\xB0\x5C", 0x007668}, {"\xB0\x5D", 0x007669}, {"\xB0\x5E", 0x00766A}, 
{"\xB0\x5F", 0x00766C}, {"\xB0\x60", 0x00766D}, {"\xB0\x61", 0x00766E}, {"\xB0\x62", 0x007670}, 
{"\xB0\x63", 0x007671}, {"\xB0\x64", 0x007672}, {"\xB0\x65", 0x007673}, {"\xB0\x66", 0x007674}, 
{"\xB0\x67", 0x007675}, {"\xB0\x68", 0x007676}, {"\xB0\x69", 0x007677}, {"\xB0\x6A", 0x007679}, 
{"\xB0\x6B", 0x00767A}, {"\xB0\x6C", 0x00767C}, {"\xB0\x6D", 0x00767F}, {"\xB0\x6E", 0x007680}, 
{"\xB0\x6F", 0x007681}, {"\xB0\x70", 0x007683}, {"\xB0\x71", 0x007685}, {"\xB0\x72", 0x007689}, 
{"\xB0\x73", 0x00768A}, {"\xB0\x74", 0x00768C}, {"\xB0\x75", 0x00768D}, {"\xB0\x76", 0x00768F}, 
{"\xB0\x77", 0x007690}, {"\xB0\x78", 0x007692}, {"\xB0\x79", 0x007694}, {"\xB0\x7A", 0x007695}, 
{"\xB0\x7B", 0x007697}, {"\xB0\x7C", 0x007698}, {"\xB0\x7D", 0x00769A}, {"\xB0\x7E", 0x00769B}, 
{"\xB0\x80", 0x00769C}, {"\xB0\x81", 0x00769D}, {"\xB0\x82", 0x00769E}, {"\xB0\x83", 0x00769F}, 
{"\xB0\x84", 0x0076A0}, {"\xB0\x85", 0x0076A1}, {"\xB0\x86", 0x0076A2}, {"\xB0\x87", 0x0076A3}, 
{"\xB0\x88", 0x0076A5}, {"\xB0\x89", 0x0076A6}, {"\xB0\x8A", 0x0076A7}, {"\xB0\x8B", 0x0076A8}, 
{"\xB0\x8C", 0x0076A9}, {"\xB0\x8D", 0x0076AA}, {"\xB0\x8E", 0x0076AB}, {"\xB0\x8F", 0x0076AC}, 
{"\xB0\x90", 0x0076AD}, {"\xB0\x91", 0x0076AF}, {"\xB0\x92", 0x0076B0}, {"\xB0\x93", 0x0076B3}, 
{"\xB0\x94", 0x0076B5}, {"\xB0\x95", 0x0076B6}, {"\xB0\x96", 0x0076B7}, {"\xB0\x97", 0x0076B8}, 
{"\xB0\x98", 0x0076B9}, {"\xB0\x99", 0x0076BA}, {"\xB0\x9A", 0x0076BB}, {"\xB0\x9B", 0x0076BC}, 
{"\xB0\x9C", 0x0076BD}, {"\xB0\x9D", 0x0076BE}, {"\xB0\x9E", 0x0076C0}, {"\xB0\x9F", 0x0076C1}, 
{"\xB0\xA0", 0x0076C3}, {"\xB0\xA1", 0x00554A}, {"\xB0\xA2", 0x00963F}, {"\xB0\xA3", 0x0057C3}, 
{"\xB0\xA4", 0x006328}, {"\xB0\xA5", 0x0054CE}, {"\xB0\xA6", 0x005509}, {"\xB0\xA7", 0x0054C0}, 
{"\xB0\xA8", 0x007691}, {"\xB0\xA9", 0x00764C}, {"\xB0\xAA", 0x00853C}, {"\xB0\xAB", 0x0077EE}, 
{"\xB0\xAC", 0x00827E}, {"\xB0\xAD", 0x00788D}, {"\xB0\xAE", 0x007231}, {"\xB0\xAF", 0x009698}, 
{"\xB0\xB0", 0x00978D}, {"\xB0\xB1", 0x006C28}, {"\xB0\xB2", 0x005B89}, {"\xB0\xB3", 0x004FFA}, 
{"\xB0\xB4", 0x006309}, {"\xB0\xB5", 0x006697}, {"\xB0\xB6", 0x005CB8}, {"\xB0\xB7", 0x0080FA}, 
{"\xB0\xB8", 0x006848}, {"\xB0\xB9", 0x0080AE}, {"\xB0\xBA", 0x006602}, {"\xB0\xBB", 0x0076CE}, 
{"\xB0\xBC", 0x0051F9}, {"\xB0\xBD", 0x006556}, {"\xB0\xBE", 0x0071AC}, {"\xB0\xBF", 0x007FF1}, 
{"\xB0\xC0", 0x008884}, {"\xB0\xC1", 0x0050B2}, {"\xB0\xC2", 0x005965}, {"\xB0\xC3", 0x0061CA}, 
{"\xB0\xC4", 0x006FB3}, {"\xB0\xC5", 0x0082AD}, {"\xB0\xC6", 0x00634C}, {"\xB0\xC7", 0x006252}, 
{"\xB0\xC8", 0x0053ED}, {"\xB0\xC9", 0x005427}, {"\xB0\xCA", 0x007B06}, {"\xB0\xCB", 0x00516B}, 
{"\xB0\xCC", 0x0075A4}, {"\xB0\xCD", 0x005DF4}, {"\xB0\xCE", 0x0062D4}, {"\xB0\xCF", 0x008DCB}, 
{"\xB0\xD0", 0x009776}, {"\xB0\xD1", 0x00628A}, {"\xB0\xD2", 0x008019}, {"\xB0\xD3", 0x00575D}, 
{"\xB0\xD4", 0x009738}, {"\xB0\xD5", 0x007F62}, {"\xB0\xD6", 0x007238}, {"\xB0\xD7", 0x00767D}, 
{"\xB0\xD8", 0x0067CF}, {"\xB0\xD9", 0x00767E}, {"\xB0\xDA", 0x006446}, {"\xB0\xDB", 0x004F70}, 
{"\xB0\xDC", 0x008D25}, {"\xB0\xDD", 0x0062DC}, {"\xB0\xDE", 0x007A17}, {"\xB0\xDF", 0x006591}, 

};
 for(size_t i=1; i<sizeof(db2bmp_23_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_23_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_24_gb18030_init()
{
static MB2UData db2bmp_24_gb18030 [] = { {"", 0}, 
{"\xB0\xE0", 0x0073ED}, {"\xB0\xE1", 0x00642C}, {"\xB0\xE2", 0x006273}, {"\xB0\xE3", 0x00822C}, 
{"\xB0\xE4", 0x009881}, {"\xB0\xE5", 0x00677F}, {"\xB0\xE6", 0x007248}, {"\xB0\xE7", 0x00626E}, 
{"\xB0\xE8", 0x0062CC}, {"\xB0\xE9", 0x004F34}, {"\xB0\xEA", 0x0074E3}, {"\xB0\xEB", 0x00534A}, 
{"\xB0\xEC", 0x00529E}, {"\xB0\xED", 0x007ECA}, {"\xB0\xEE", 0x0090A6}, {"\xB0\xEF", 0x005E2E}, 
{"\xB0\xF0", 0x006886}, {"\xB0\xF1", 0x00699C}, {"\xB0\xF2", 0x008180}, {"\xB0\xF3", 0x007ED1}, 
{"\xB0\xF4", 0x0068D2}, {"\xB0\xF5", 0x0078C5}, {"\xB0\xF6", 0x00868C}, {"\xB0\xF7", 0x009551}, 
{"\xB0\xF8", 0x00508D}, {"\xB0\xF9", 0x008C24}, {"\xB0\xFA", 0x0082DE}, {"\xB0\xFB", 0x0080DE}, 
{"\xB0\xFC", 0x005305}, {"\xB0\xFD", 0x008912}, {"\xB0\xFE", 0x005265}, {"\xB1\x40", 0x0076C4}, 
{"\xB1\x41", 0x0076C7}, {"\xB1\x42", 0x0076C9}, {"\xB1\x43", 0x0076CB}, {"\xB1\x44", 0x0076CC}, 
{"\xB1\x45", 0x0076D3}, {"\xB1\x46", 0x0076D5}, {"\xB1\x47", 0x0076D9}, {"\xB1\x48", 0x0076DA}, 
{"\xB1\x49", 0x0076DC}, {"\xB1\x4A", 0x0076DD}, {"\xB1\x4B", 0x0076DE}, {"\xB1\x4C", 0x0076E0}, 
{"\xB1\x4D", 0x0076E1}, {"\xB1\x4E", 0x0076E2}, {"\xB1\x4F", 0x0076E3}, {"\xB1\x50", 0x0076E4}, 
{"\xB1\x51", 0x0076E6}, {"\xB1\x52", 0x0076E7}, {"\xB1\x53", 0x0076E8}, {"\xB1\x54", 0x0076E9}, 
{"\xB1\x55", 0x0076EA}, {"\xB1\x56", 0x0076EB}, {"\xB1\x57", 0x0076EC}, {"\xB1\x58", 0x0076ED}, 
{"\xB1\x59", 0x0076F0}, {"\xB1\x5A", 0x0076F3}, {"\xB1\x5B", 0x0076F5}, {"\xB1\x5C", 0x0076F6}, 
{"\xB1\x5D", 0x0076F7}, {"\xB1\x5E", 0x0076FA}, {"\xB1\x5F", 0x0076FB}, {"\xB1\x60", 0x0076FD}, 
{"\xB1\x61", 0x0076FF}, {"\xB1\x62", 0x007700}, {"\xB1\x63", 0x007702}, {"\xB1\x64", 0x007703}, 
{"\xB1\x65", 0x007705}, {"\xB1\x66", 0x007706}, {"\xB1\x67", 0x00770A}, {"\xB1\x68", 0x00770C}, 
{"\xB1\x69", 0x00770E}, {"\xB1\x6A", 0x00770F}, {"\xB1\x6B", 0x007710}, {"\xB1\x6C", 0x007711}, 
{"\xB1\x6D", 0x007712}, {"\xB1\x6E", 0x007713}, {"\xB1\x6F", 0x007714}, {"\xB1\x70", 0x007715}, 
{"\xB1\x71", 0x007716}, {"\xB1\x72", 0x007717}, {"\xB1\x73", 0x007718}, {"\xB1\x74", 0x00771B}, 
{"\xB1\x75", 0x00771C}, {"\xB1\x76", 0x00771D}, {"\xB1\x77", 0x00771E}, {"\xB1\x78", 0x007721}, 
{"\xB1\x79", 0x007723}, {"\xB1\x7A", 0x007724}, {"\xB1\x7B", 0x007725}, {"\xB1\x7C", 0x007727}, 
{"\xB1\x7D", 0x00772A}, {"\xB1\x7E", 0x00772B}, {"\xB1\x80", 0x00772C}, {"\xB1\x81", 0x00772E}, 
{"\xB1\x82", 0x007730}, {"\xB1\x83", 0x007731}, {"\xB1\x84", 0x007732}, {"\xB1\x85", 0x007733}, 
{"\xB1\x86", 0x007734}, {"\xB1\x87", 0x007739}, {"\xB1\x88", 0x00773B}, {"\xB1\x89", 0x00773D}, 
{"\xB1\x8A", 0x00773E}, {"\xB1\x8B", 0x00773F}, {"\xB1\x8C", 0x007742}, {"\xB1\x8D", 0x007744}, 
{"\xB1\x8E", 0x007745}, {"\xB1\x8F", 0x007746}, {"\xB1\x90", 0x007748}, {"\xB1\x91", 0x007749}, 
{"\xB1\x92", 0x00774A}, {"\xB1\x93", 0x00774B}, {"\xB1\x94", 0x00774C}, {"\xB1\x95", 0x00774D}, 
{"\xB1\x96", 0x00774E}, {"\xB1\x97", 0x00774F}, {"\xB1\x98", 0x007752}, {"\xB1\x99", 0x007753}, 
{"\xB1\x9A", 0x007754}, {"\xB1\x9B", 0x007755}, {"\xB1\x9C", 0x007756}, {"\xB1\x9D", 0x007757}, 
{"\xB1\x9E", 0x007758}, {"\xB1\x9F", 0x007759}, {"\xB1\xA0", 0x00775C}, {"\xB1\xA1", 0x008584}, 
{"\xB1\xA2", 0x0096F9}, {"\xB1\xA3", 0x004FDD}, {"\xB1\xA4", 0x005821}, {"\xB1\xA5", 0x009971}, 
{"\xB1\xA6", 0x005B9D}, {"\xB1\xA7", 0x0062B1}, {"\xB1\xA8", 0x0062A5}, {"\xB1\xA9", 0x0066B4}, 
{"\xB1\xAA", 0x008C79}, {"\xB1\xAB", 0x009C8D}, {"\xB1\xAC", 0x007206}, {"\xB1\xAD", 0x00676F}, 
{"\xB1\xAE", 0x007891}, {"\xB1\xAF", 0x0060B2}, {"\xB1\xB0", 0x005351}, {"\xB1\xB1", 0x005317}, 
{"\xB1\xB2", 0x008F88}, {"\xB1\xB3", 0x0080CC}, {"\xB1\xB4", 0x008D1D}, {"\xB1\xB5", 0x0094A1}, 
{"\xB1\xB6", 0x00500D}, {"\xB1\xB7", 0x0072C8}, {"\xB1\xB8", 0x005907}, {"\xB1\xB9", 0x0060EB}, 
{"\xB1\xBA", 0x007119}, {"\xB1\xBB", 0x0088AB}, {"\xB1\xBC", 0x005954}, {"\xB1\xBD", 0x0082EF}, 
{"\xB1\xBE", 0x00672C}, {"\xB1\xBF", 0x007B28}, {"\xB1\xC0", 0x005D29}, {"\xB1\xC1", 0x007EF7}, 
{"\xB1\xC2", 0x00752D}, {"\xB1\xC3", 0x006CF5}, {"\xB1\xC4", 0x008E66}, {"\xB1\xC5", 0x008FF8}, 
{"\xB1\xC6", 0x00903C}, {"\xB1\xC7", 0x009F3B}, {"\xB1\xC8", 0x006BD4}, {"\xB1\xC9", 0x009119}, 
{"\xB1\xCA", 0x007B14}, {"\xB1\xCB", 0x005F7C}, {"\xB1\xCC", 0x0078A7}, {"\xB1\xCD", 0x0084D6}, 
{"\xB1\xCE", 0x00853D}, {"\xB1\xCF", 0x006BD5}, {"\xB1\xD0", 0x006BD9}, {"\xB1\xD1", 0x006BD6}, 
{"\xB1\xD2", 0x005E01}, {"\xB1\xD3", 0x005E87}, {"\xB1\xD4", 0x0075F9}, {"\xB1\xD5", 0x0095ED}, 
{"\xB1\xD6", 0x00655D}, {"\xB1\xD7", 0x005F0A}, {"\xB1\xD8", 0x005FC5}, {"\xB1\xD9", 0x008F9F}, 
{"\xB1\xDA", 0x0058C1}, {"\xB1\xDB", 0x0081C2}, {"\xB1\xDC", 0x00907F}, {"\xB1\xDD", 0x00965B}, 
{"\xB1\xDE", 0x0097AD}, {"\xB1\xDF", 0x008FB9}, {"\xB1\xE0", 0x007F16}, {"\xB1\xE1", 0x008D2C}, 
{"\xB1\xE2", 0x006241}, {"\xB1\xE3", 0x004FBF}, {"\xB1\xE4", 0x0053D8}, {"\xB1\xE5", 0x00535E}, 
{"\xB1\xE6", 0x008FA8}, {"\xB1\xE7", 0x008FA9}, {"\xB1\xE8", 0x008FAB}, {"\xB1\xE9", 0x00904D}, 
{"\xB1\xEA", 0x006807}, {"\xB1\xEB", 0x005F6A}, {"\xB1\xEC", 0x008198}, {"\xB1\xED", 0x008868}, 
{"\xB1\xEE", 0x009CD6}, {"\xB1\xEF", 0x00618B}, {"\xB1\xF0", 0x00522B}, {"\xB1\xF1", 0x00762A}, 
{"\xB1\xF2", 0x005F6C}, {"\xB1\xF3", 0x00658C}, {"\xB1\xF4", 0x006FD2}, {"\xB1\xF5", 0x006EE8}, 
{"\xB1\xF6", 0x005BBE}, {"\xB1\xF7", 0x006448}, {"\xB1\xF8", 0x005175}, {"\xB1\xF9", 0x0051B0}, 
{"\xB1\xFA", 0x0067C4}, {"\xB1\xFB", 0x004E19}, {"\xB1\xFC", 0x0079C9}, {"\xB1\xFD", 0x00997C}, 
{"\xB1\xFE", 0x0070B3}, {"\xB2\x40", 0x00775D}, {"\xB2\x41", 0x00775E}, {"\xB2\x42", 0x00775F}, 
{"\xB2\x43", 0x007760}, {"\xB2\x44", 0x007764}, {"\xB2\x45", 0x007767}, {"\xB2\x46", 0x007769}, 
{"\xB2\x47", 0x00776A}, {"\xB2\x48", 0x00776D}, {"\xB2\x49", 0x00776E}, {"\xB2\x4A", 0x00776F}, 
{"\xB2\x4B", 0x007770}, {"\xB2\x4C", 0x007771}, {"\xB2\x4D", 0x007772}, {"\xB2\x4E", 0x007773}, 
{"\xB2\x4F", 0x007774}, {"\xB2\x50", 0x007775}, {"\xB2\x51", 0x007776}, {"\xB2\x52", 0x007777}, 
{"\xB2\x53", 0x007778}, {"\xB2\x54", 0x00777A}, {"\xB2\x55", 0x00777B}, {"\xB2\x56", 0x00777C}, 
{"\xB2\x57", 0x007781}, {"\xB2\x58", 0x007782}, {"\xB2\x59", 0x007783}, {"\xB2\x5A", 0x007786}, 
{"\xB2\x5B", 0x007787}, {"\xB2\x5C", 0x007788}, {"\xB2\x5D", 0x007789}, {"\xB2\x5E", 0x00778A}, 
{"\xB2\x5F", 0x00778B}, {"\xB2\x60", 0x00778F}, {"\xB2\x61", 0x007790}, {"\xB2\x62", 0x007793}, 

};
 for(size_t i=1; i<sizeof(db2bmp_24_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_24_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_25_gb18030_init()
{
static MB2UData db2bmp_25_gb18030 [] = { {"", 0}, 
{"\xB2\x63", 0x007794}, {"\xB2\x64", 0x007795}, {"\xB2\x65", 0x007796}, {"\xB2\x66", 0x007797}, 
{"\xB2\x67", 0x007798}, {"\xB2\x68", 0x007799}, {"\xB2\x69", 0x00779A}, {"\xB2\x6A", 0x00779B}, 
{"\xB2\x6B", 0x00779C}, {"\xB2\x6C", 0x00779D}, {"\xB2\x6D", 0x00779E}, {"\xB2\x6E", 0x0077A1}, 
{"\xB2\x6F", 0x0077A3}, {"\xB2\x70", 0x0077A4}, {"\xB2\x71", 0x0077A6}, {"\xB2\x72", 0x0077A8}, 
{"\xB2\x73", 0x0077AB}, {"\xB2\x74", 0x0077AD}, {"\xB2\x75", 0x0077AE}, {"\xB2\x76", 0x0077AF}, 
{"\xB2\x77", 0x0077B1}, {"\xB2\x78", 0x0077B2}, {"\xB2\x79", 0x0077B4}, {"\xB2\x7A", 0x0077B6}, 
{"\xB2\x7B", 0x0077B7}, {"\xB2\x7C", 0x0077B8}, {"\xB2\x7D", 0x0077B9}, {"\xB2\x7E", 0x0077BA}, 
{"\xB2\x80", 0x0077BC}, {"\xB2\x81", 0x0077BE}, {"\xB2\x82", 0x0077C0}, {"\xB2\x83", 0x0077C1}, 
{"\xB2\x84", 0x0077C2}, {"\xB2\x85", 0x0077C3}, {"\xB2\x86", 0x0077C4}, {"\xB2\x87", 0x0077C5}, 
{"\xB2\x88", 0x0077C6}, {"\xB2\x89", 0x0077C7}, {"\xB2\x8A", 0x0077C8}, {"\xB2\x8B", 0x0077C9}, 
{"\xB2\x8C", 0x0077CA}, {"\xB2\x8D", 0x0077CB}, {"\xB2\x8E", 0x0077CC}, {"\xB2\x8F", 0x0077CE}, 
{"\xB2\x90", 0x0077CF}, {"\xB2\x91", 0x0077D0}, {"\xB2\x92", 0x0077D1}, {"\xB2\x93", 0x0077D2}, 
{"\xB2\x94", 0x0077D3}, {"\xB2\x95", 0x0077D4}, {"\xB2\x96", 0x0077D5}, {"\xB2\x97", 0x0077D6}, 
{"\xB2\x98", 0x0077D8}, {"\xB2\x99", 0x0077D9}, {"\xB2\x9A", 0x0077DA}, {"\xB2\x9B", 0x0077DD}, 
{"\xB2\x9C", 0x0077DE}, {"\xB2\x9D", 0x0077DF}, {"\xB2\x9E", 0x0077E0}, {"\xB2\x9F", 0x0077E1}, 
{"\xB2\xA0", 0x0077E4}, {"\xB2\xA1", 0x0075C5}, {"\xB2\xA2", 0x005E76}, {"\xB2\xA3", 0x0073BB}, 
{"\xB2\xA4", 0x0083E0}, {"\xB2\xA5", 0x0064AD}, {"\xB2\xA6", 0x0062E8}, {"\xB2\xA7", 0x0094B5}, 
{"\xB2\xA8", 0x006CE2}, {"\xB2\xA9", 0x00535A}, {"\xB2\xAA", 0x0052C3}, {"\xB2\xAB", 0x00640F}, 
{"\xB2\xAC", 0x0094C2}, {"\xB2\xAD", 0x007B94}, {"\xB2\xAE", 0x004F2F}, {"\xB2\xAF", 0x005E1B}, 
{"\xB2\xB0", 0x008236}, {"\xB2\xB1", 0x008116}, {"\xB2\xB2", 0x00818A}, {"\xB2\xB3", 0x006E24}, 
{"\xB2\xB4", 0x006CCA}, {"\xB2\xB5", 0x009A73}, {"\xB2\xB6", 0x006355}, {"\xB2\xB7", 0x00535C}, 
{"\xB2\xB8", 0x0054FA}, {"\xB2\xB9", 0x008865}, {"\xB2\xBA", 0x0057E0}, {"\xB2\xBB", 0x004E0D}, 
{"\xB2\xBC", 0x005E03}, {"\xB2\xBD", 0x006B65}, {"\xB2\xBE", 0x007C3F}, {"\xB2\xBF", 0x0090E8}, 
{"\xB2\xC0", 0x006016}, {"\xB2\xC1", 0x0064E6}, {"\xB2\xC2", 0x00731C}, {"\xB2\xC3", 0x0088C1}, 
{"\xB2\xC4", 0x006750}, {"\xB2\xC5", 0x00624D}, {"\xB2\xC6", 0x008D22}, {"\xB2\xC7", 0x00776C}, 
{"\xB2\xC8", 0x008E29}, {"\xB2\xC9", 0x0091C7}, {"\xB2\xCA", 0x005F69}, {"\xB2\xCB", 0x0083DC}, 
{"\xB2\xCC", 0x008521}, {"\xB2\xCD", 0x009910}, {"\xB2\xCE", 0x0053C2}, {"\xB2\xCF", 0x008695}, 
{"\xB2\xD0", 0x006B8B}, {"\xB2\xD1", 0x0060ED}, {"\xB2\xD2", 0x0060E8}, {"\xB2\xD3", 0x00707F}, 
{"\xB2\xD4", 0x0082CD}, {"\xB2\xD5", 0x008231}, {"\xB2\xD6", 0x004ED3}, {"\xB2\xD7", 0x006CA7}, 
{"\xB2\xD8", 0x0085CF}, {"\xB2\xD9", 0x0064CD}, {"\xB2\xDA", 0x007CD9}, {"\xB2\xDB", 0x0069FD}, 
{"\xB2\xDC", 0x0066F9}, {"\xB2\xDD", 0x008349}, {"\xB2\xDE", 0x005395}, {"\xB2\xDF", 0x007B56}, 
{"\xB2\xE0", 0x004FA7}, {"\xB2\xE1", 0x00518C}, {"\xB2\xE2", 0x006D4B}, {"\xB2\xE3", 0x005C42}, 
{"\xB2\xE4", 0x008E6D}, {"\xB2\xE5", 0x0063D2}, {"\xB2\xE6", 0x0053C9}, {"\xB2\xE7", 0x00832C}, 
{"\xB2\xE8", 0x008336}, {"\xB2\xE9", 0x0067E5}, {"\xB2\xEA", 0x0078B4}, {"\xB2\xEB", 0x00643D}, 
{"\xB2\xEC", 0x005BDF}, {"\xB2\xED", 0x005C94}, {"\xB2\xEE", 0x005DEE}, {"\xB2\xEF", 0x008BE7}, 
{"\xB2\xF0", 0x0062C6}, {"\xB2\xF1", 0x0067F4}, {"\xB2\xF2", 0x008C7A}, {"\xB2\xF3", 0x006400}, 
{"\xB2\xF4", 0x0063BA}, {"\xB2\xF5", 0x008749}, {"\xB2\xF6", 0x00998B}, {"\xB2\xF7", 0x008C17}, 
{"\xB2\xF8", 0x007F20}, {"\xB2\xF9", 0x0094F2}, {"\xB2\xFA", 0x004EA7}, {"\xB2\xFB", 0x009610}, 
{"\xB2\xFC", 0x0098A4}, {"\xB2\xFD", 0x00660C}, {"\xB2\xFE", 0x007316}, {"\xB3\x40", 0x0077E6}, 
{"\xB3\x41", 0x0077E8}, {"\xB3\x42", 0x0077EA}, {"\xB3\x43", 0x0077EF}, {"\xB3\x44", 0x0077F0}, 
{"\xB3\x45", 0x0077F1}, {"\xB3\x46", 0x0077F2}, {"\xB3\x47", 0x0077F4}, {"\xB3\x48", 0x0077F5}, 
{"\xB3\x49", 0x0077F7}, {"\xB3\x4A", 0x0077F9}, {"\xB3\x4B", 0x0077FA}, {"\xB3\x4C", 0x0077FB}, 
{"\xB3\x4D", 0x0077FC}, {"\xB3\x4E", 0x007803}, {"\xB3\x4F", 0x007804}, {"\xB3\x50", 0x007805}, 
{"\xB3\x51", 0x007806}, {"\xB3\x52", 0x007807}, {"\xB3\x53", 0x007808}, {"\xB3\x54", 0x00780A}, 
{"\xB3\x55", 0x00780B}, {"\xB3\x56", 0x00780E}, {"\xB3\x57", 0x00780F}, {"\xB3\x58", 0x007810}, 
{"\xB3\x59", 0x007813}, {"\xB3\x5A", 0x007815}, {"\xB3\x5B", 0x007819}, {"\xB3\x5C", 0x00781B}, 
{"\xB3\x5D", 0x00781E}, {"\xB3\x5E", 0x007820}, {"\xB3\x5F", 0x007821}, {"\xB3\x60", 0x007822}, 
{"\xB3\x61", 0x007824}, {"\xB3\x62", 0x007828}, {"\xB3\x63", 0x00782A}, {"\xB3\x64", 0x00782B}, 
{"\xB3\x65", 0x00782E}, {"\xB3\x66", 0x00782F}, {"\xB3\x67", 0x007831}, {"\xB3\x68", 0x007832}, 
{"\xB3\x69", 0x007833}, {"\xB3\x6A", 0x007835}, {"\xB3\x6B", 0x007836}, {"\xB3\x6C", 0x00783D}, 
{"\xB3\x6D", 0x00783F}, {"\xB3\x6E", 0x007841}, {"\xB3\x6F", 0x007842}, {"\xB3\x70", 0x007843}, 
{"\xB3\x71", 0x007844}, {"\xB3\x72", 0x007846}, {"\xB3\x73", 0x007848}, {"\xB3\x74", 0x007849}, 
{"\xB3\x75", 0x00784A}, {"\xB3\x76", 0x00784B}, {"\xB3\x77", 0x00784D}, {"\xB3\x78", 0x00784F}, 
{"\xB3\x79", 0x007851}, {"\xB3\x7A", 0x007853}, {"\xB3\x7B", 0x007854}, {"\xB3\x7C", 0x007858}, 
{"\xB3\x7D", 0x007859}, {"\xB3\x7E", 0x00785A}, {"\xB3\x80", 0x00785B}, {"\xB3\x81", 0x00785C}, 
{"\xB3\x82", 0x00785E}, {"\xB3\x83", 0x00785F}, {"\xB3\x84", 0x007860}, {"\xB3\x85", 0x007861}, 
{"\xB3\x86", 0x007862}, {"\xB3\x87", 0x007863}, {"\xB3\x88", 0x007864}, {"\xB3\x89", 0x007865}, 
{"\xB3\x8A", 0x007866}, {"\xB3\x8B", 0x007867}, {"\xB3\x8C", 0x007868}, {"\xB3\x8D", 0x007869}, 
{"\xB3\x8E", 0x00786F}, {"\xB3\x8F", 0x007870}, {"\xB3\x90", 0x007871}, {"\xB3\x91", 0x007872}, 
{"\xB3\x92", 0x007873}, {"\xB3\x93", 0x007874}, {"\xB3\x94", 0x007875}, {"\xB3\x95", 0x007876}, 
{"\xB3\x96", 0x007878}, {"\xB3\x97", 0x007879}, {"\xB3\x98", 0x00787A}, {"\xB3\x99", 0x00787B}, 
{"\xB3\x9A", 0x00787D}, {"\xB3\x9B", 0x00787E}, {"\xB3\x9C", 0x00787F}, {"\xB3\x9D", 0x007880}, 
{"\xB3\x9E", 0x007881}, {"\xB3\x9F", 0x007882}, {"\xB3\xA0", 0x007883}, {"\xB3\xA1", 0x00573A}, 
{"\xB3\xA2", 0x005C1D}, {"\xB3\xA3", 0x005E38}, {"\xB3\xA4", 0x00957F}, {"\xB3\xA5", 0x00507F}, 

};
 for(size_t i=1; i<sizeof(db2bmp_25_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_25_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_26_gb18030_init()
{
static MB2UData db2bmp_26_gb18030 [] = { {"", 0}, 
{"\xB3\xA6", 0x0080A0}, {"\xB3\xA7", 0x005382}, {"\xB3\xA8", 0x00655E}, {"\xB3\xA9", 0x007545}, 
{"\xB3\xAA", 0x005531}, {"\xB3\xAB", 0x005021}, {"\xB3\xAC", 0x008D85}, {"\xB3\xAD", 0x006284}, 
{"\xB3\xAE", 0x00949E}, {"\xB3\xAF", 0x00671D}, {"\xB3\xB0", 0x005632}, {"\xB3\xB1", 0x006F6E}, 
{"\xB3\xB2", 0x005DE2}, {"\xB3\xB3", 0x005435}, {"\xB3\xB4", 0x007092}, {"\xB3\xB5", 0x008F66}, 
{"\xB3\xB6", 0x00626F}, {"\xB3\xB7", 0x0064A4}, {"\xB3\xB8", 0x0063A3}, {"\xB3\xB9", 0x005F7B}, 
{"\xB3\xBA", 0x006F88}, {"\xB3\xBB", 0x0090F4}, {"\xB3\xBC", 0x0081E3}, {"\xB3\xBD", 0x008FB0}, 
{"\xB3\xBE", 0x005C18}, {"\xB3\xBF", 0x006668}, {"\xB3\xC0", 0x005FF1}, {"\xB3\xC1", 0x006C89}, 
{"\xB3\xC2", 0x009648}, {"\xB3\xC3", 0x008D81}, {"\xB3\xC4", 0x00886C}, {"\xB3\xC5", 0x006491}, 
{"\xB3\xC6", 0x0079F0}, {"\xB3\xC7", 0x0057CE}, {"\xB3\xC8", 0x006A59}, {"\xB3\xC9", 0x006210}, 
{"\xB3\xCA", 0x005448}, {"\xB3\xCB", 0x004E58}, {"\xB3\xCC", 0x007A0B}, {"\xB3\xCD", 0x0060E9}, 
{"\xB3\xCE", 0x006F84}, {"\xB3\xCF", 0x008BDA}, {"\xB3\xD0", 0x00627F}, {"\xB3\xD1", 0x00901E}, 
{"\xB3\xD2", 0x009A8B}, {"\xB3\xD3", 0x0079E4}, {"\xB3\xD4", 0x005403}, {"\xB3\xD5", 0x0075F4}, 
{"\xB3\xD6", 0x006301}, {"\xB3\xD7", 0x005319}, {"\xB3\xD8", 0x006C60}, {"\xB3\xD9", 0x008FDF}, 
{"\xB3\xDA", 0x005F1B}, {"\xB3\xDB", 0x009A70}, {"\xB3\xDC", 0x00803B}, {"\xB3\xDD", 0x009F7F}, 
{"\xB3\xDE", 0x004F88}, {"\xB3\xDF", 0x005C3A}, {"\xB3\xE0", 0x008D64}, {"\xB3\xE1", 0x007FC5}, 
{"\xB3\xE2", 0x0065A5}, {"\xB3\xE3", 0x0070BD}, {"\xB3\xE4", 0x005145}, {"\xB3\xE5", 0x0051B2}, 
{"\xB3\xE6", 0x00866B}, {"\xB3\xE7", 0x005D07}, {"\xB3\xE8", 0x005BA0}, {"\xB3\xE9", 0x0062BD}, 
{"\xB3\xEA", 0x00916C}, {"\xB3\xEB", 0x007574}, {"\xB3\xEC", 0x008E0C}, {"\xB3\xED", 0x007A20}, 
{"\xB3\xEE", 0x006101}, {"\xB3\xEF", 0x007B79}, {"\xB3\xF0", 0x004EC7}, {"\xB3\xF1", 0x007EF8}, 
{"\xB3\xF2", 0x007785}, {"\xB3\xF3", 0x004E11}, {"\xB3\xF4", 0x0081ED}, {"\xB3\xF5", 0x00521D}, 
{"\xB3\xF6", 0x0051FA}, {"\xB3\xF7", 0x006A71}, {"\xB3\xF8", 0x0053A8}, {"\xB3\xF9", 0x008E87}, 
{"\xB3\xFA", 0x009504}, {"\xB3\xFB", 0x0096CF}, {"\xB3\xFC", 0x006EC1}, {"\xB3\xFD", 0x009664}, 
{"\xB3\xFE", 0x00695A}, {"\xB4\x40", 0x007884}, {"\xB4\x41", 0x007885}, {"\xB4\x42", 0x007886}, 
{"\xB4\x43", 0x007888}, {"\xB4\x44", 0x00788A}, {"\xB4\x45", 0x00788B}, {"\xB4\x46", 0x00788F}, 
{"\xB4\x47", 0x007890}, {"\xB4\x48", 0x007892}, {"\xB4\x49", 0x007894}, {"\xB4\x4A", 0x007895}, 
{"\xB4\x4B", 0x007896}, {"\xB4\x4C", 0x007899}, {"\xB4\x4D", 0x00789D}, {"\xB4\x4E", 0x00789E}, 
{"\xB4\x4F", 0x0078A0}, {"\xB4\x50", 0x0078A2}, {"\xB4\x51", 0x0078A4}, {"\xB4\x52", 0x0078A6}, 
{"\xB4\x53", 0x0078A8}, {"\xB4\x54", 0x0078A9}, {"\xB4\x55", 0x0078AA}, {"\xB4\x56", 0x0078AB}, 
{"\xB4\x57", 0x0078AC}, {"\xB4\x58", 0x0078AD}, {"\xB4\x59", 0x0078AE}, {"\xB4\x5A", 0x0078AF}, 
{"\xB4\x5B", 0x0078B5}, {"\xB4\x5C", 0x0078B6}, {"\xB4\x5D", 0x0078B7}, {"\xB4\x5E", 0x0078B8}, 
{"\xB4\x5F", 0x0078BA}, {"\xB4\x60", 0x0078BB}, {"\xB4\x61", 0x0078BC}, {"\xB4\x62", 0x0078BD}, 
{"\xB4\x63", 0x0078BF}, {"\xB4\x64", 0x0078C0}, {"\xB4\x65", 0x0078C2}, {"\xB4\x66", 0x0078C3}, 
{"\xB4\x67", 0x0078C4}, {"\xB4\x68", 0x0078C6}, {"\xB4\x69", 0x0078C7}, {"\xB4\x6A", 0x0078C8}, 
{"\xB4\x6B", 0x0078CC}, {"\xB4\x6C", 0x0078CD}, {"\xB4\x6D", 0x0078CE}, {"\xB4\x6E", 0x0078CF}, 
{"\xB4\x6F", 0x0078D1}, {"\xB4\x70", 0x0078D2}, {"\xB4\x71", 0x0078D3}, {"\xB4\x72", 0x0078D6}, 
{"\xB4\x73", 0x0078D7}, {"\xB4\x74", 0x0078D8}, {"\xB4\x75", 0x0078DA}, {"\xB4\x76", 0x0078DB}, 
{"\xB4\x77", 0x0078DC}, {"\xB4\x78", 0x0078DD}, {"\xB4\x79", 0x0078DE}, {"\xB4\x7A", 0x0078DF}, 
{"\xB4\x7B", 0x0078E0}, {"\xB4\x7C", 0x0078E1}, {"\xB4\x7D", 0x0078E2}, {"\xB4\x7E", 0x0078E3}, 
{"\xB4\x80", 0x0078E4}, {"\xB4\x81", 0x0078E5}, {"\xB4\x82", 0x0078E6}, {"\xB4\x83", 0x0078E7}, 
{"\xB4\x84", 0x0078E9}, {"\xB4\x85", 0x0078EA}, {"\xB4\x86", 0x0078EB}, {"\xB4\x87", 0x0078ED}, 
{"\xB4\x88", 0x0078EE}, {"\xB4\x89", 0x0078EF}, {"\xB4\x8A", 0x0078F0}, {"\xB4\x8B", 0x0078F1}, 
{"\xB4\x8C", 0x0078F3}, {"\xB4\x8D", 0x0078F5}, {"\xB4\x8E", 0x0078F6}, {"\xB4\x8F", 0x0078F8}, 
{"\xB4\x90", 0x0078F9}, {"\xB4\x91", 0x0078FB}, {"\xB4\x92", 0x0078FC}, {"\xB4\x93", 0x0078FD}, 
{"\xB4\x94", 0x0078FE}, {"\xB4\x95", 0x0078FF}, {"\xB4\x96", 0x007900}, {"\xB4\x97", 0x007902}, 
{"\xB4\x98", 0x007903}, {"\xB4\x99", 0x007904}, {"\xB4\x9A", 0x007906}, {"\xB4\x9B", 0x007907}, 
{"\xB4\x9C", 0x007908}, {"\xB4\x9D", 0x007909}, {"\xB4\x9E", 0x00790A}, {"\xB4\x9F", 0x00790B}, 
{"\xB4\xA0", 0x00790C}, {"\xB4\xA1", 0x007840}, {"\xB4\xA2", 0x0050A8}, {"\xB4\xA3", 0x0077D7}, 
{"\xB4\xA4", 0x006410}, {"\xB4\xA5", 0x0089E6}, {"\xB4\xA6", 0x005904}, {"\xB4\xA7", 0x0063E3}, 
{"\xB4\xA8", 0x005DDD}, {"\xB4\xA9", 0x007A7F}, {"\xB4\xAA", 0x00693D}, {"\xB4\xAB", 0x004F20}, 
{"\xB4\xAC", 0x008239}, {"\xB4\xAD", 0x005598}, {"\xB4\xAE", 0x004E32}, {"\xB4\xAF", 0x0075AE}, 
{"\xB4\xB0", 0x007A97}, {"\xB4\xB1", 0x005E62}, {"\xB4\xB2", 0x005E8A}, {"\xB4\xB3", 0x0095EF}, 
{"\xB4\xB4", 0x00521B}, {"\xB4\xB5", 0x005439}, {"\xB4\xB6", 0x00708A}, {"\xB4\xB7", 0x006376}, 
{"\xB4\xB8", 0x009524}, {"\xB4\xB9", 0x005782}, {"\xB4\xBA", 0x006625}, {"\xB4\xBB", 0x00693F}, 
{"\xB4\xBC", 0x009187}, {"\xB4\xBD", 0x005507}, {"\xB4\xBE", 0x006DF3}, {"\xB4\xBF", 0x007EAF}, 
{"\xB4\xC0", 0x008822}, {"\xB4\xC1", 0x006233}, {"\xB4\xC2", 0x007EF0}, {"\xB4\xC3", 0x0075B5}, 
{"\xB4\xC4", 0x008328}, {"\xB4\xC5", 0x0078C1}, {"\xB4\xC6", 0x0096CC}, {"\xB4\xC7", 0x008F9E}, 
{"\xB4\xC8", 0x006148}, {"\xB4\xC9", 0x0074F7}, {"\xB4\xCA", 0x008BCD}, {"\xB4\xCB", 0x006B64}, 
{"\xB4\xCC", 0x00523A}, {"\xB4\xCD", 0x008D50}, {"\xB4\xCE", 0x006B21}, {"\xB4\xCF", 0x00806A}, 
{"\xB4\xD0", 0x008471}, {"\xB4\xD1", 0x0056F1}, {"\xB4\xD2", 0x005306}, {"\xB4\xD3", 0x004ECE}, 
{"\xB4\xD4", 0x004E1B}, {"\xB4\xD5", 0x0051D1}, {"\xB4\xD6", 0x007C97}, {"\xB4\xD7", 0x00918B}, 
{"\xB4\xD8", 0x007C07}, {"\xB4\xD9", 0x004FC3}, {"\xB4\xDA", 0x008E7F}, {"\xB4\xDB", 0x007BE1}, 
{"\xB4\xDC", 0x007A9C}, {"\xB4\xDD", 0x006467}, {"\xB4\xDE", 0x005D14}, {"\xB4\xDF", 0x0050AC}, 
{"\xB4\xE0", 0x008106}, {"\xB4\xE1", 0x007601}, {"\xB4\xE2", 0x007CB9}, {"\xB4\xE3", 0x006DEC}, 
{"\xB4\xE4", 0x007FE0}, {"\xB4\xE5", 0x006751}, {"\xB4\xE6", 0x005B58}, {"\xB4\xE7", 0x005BF8}, 

};
 for(size_t i=1; i<sizeof(db2bmp_26_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_26_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_27_gb18030_init()
{
static MB2UData db2bmp_27_gb18030 [] = { {"", 0}, 
{"\xB4\xE8", 0x0078CB}, {"\xB4\xE9", 0x0064AE}, {"\xB4\xEA", 0x006413}, {"\xB4\xEB", 0x0063AA}, 
{"\xB4\xEC", 0x00632B}, {"\xB4\xED", 0x009519}, {"\xB4\xEE", 0x00642D}, {"\xB4\xEF", 0x008FBE}, 
{"\xB4\xF0", 0x007B54}, {"\xB4\xF1", 0x007629}, {"\xB4\xF2", 0x006253}, {"\xB4\xF3", 0x005927}, 
{"\xB4\xF4", 0x005446}, {"\xB4\xF5", 0x006B79}, {"\xB4\xF6", 0x0050A3}, {"\xB4\xF7", 0x006234}, 
{"\xB4\xF8", 0x005E26}, {"\xB4\xF9", 0x006B86}, {"\xB4\xFA", 0x004EE3}, {"\xB4\xFB", 0x008D37}, 
{"\xB4\xFC", 0x00888B}, {"\xB4\xFD", 0x005F85}, {"\xB4\xFE", 0x00902E}, {"\xB5\x40", 0x00790D}, 
{"\xB5\x41", 0x00790E}, {"\xB5\x42", 0x00790F}, {"\xB5\x43", 0x007910}, {"\xB5\x44", 0x007911}, 
{"\xB5\x45", 0x007912}, {"\xB5\x46", 0x007914}, {"\xB5\x47", 0x007915}, {"\xB5\x48", 0x007916}, 
{"\xB5\x49", 0x007917}, {"\xB5\x4A", 0x007918}, {"\xB5\x4B", 0x007919}, {"\xB5\x4C", 0x00791A}, 
{"\xB5\x4D", 0x00791B}, {"\xB5\x4E", 0x00791C}, {"\xB5\x4F", 0x00791D}, {"\xB5\x50", 0x00791F}, 
{"\xB5\x51", 0x007920}, {"\xB5\x52", 0x007921}, {"\xB5\x53", 0x007922}, {"\xB5\x54", 0x007923}, 
{"\xB5\x55", 0x007925}, {"\xB5\x56", 0x007926}, {"\xB5\x57", 0x007927}, {"\xB5\x58", 0x007928}, 
{"\xB5\x59", 0x007929}, {"\xB5\x5A", 0x00792A}, {"\xB5\x5B", 0x00792B}, {"\xB5\x5C", 0x00792C}, 
{"\xB5\x5D", 0x00792D}, {"\xB5\x5E", 0x00792E}, {"\xB5\x5F", 0x00792F}, {"\xB5\x60", 0x007930}, 
{"\xB5\x61", 0x007931}, {"\xB5\x62", 0x007932}, {"\xB5\x63", 0x007933}, {"\xB5\x64", 0x007935}, 
{"\xB5\x65", 0x007936}, {"\xB5\x66", 0x007937}, {"\xB5\x67", 0x007938}, {"\xB5\x68", 0x007939}, 
{"\xB5\x69", 0x00793D}, {"\xB5\x6A", 0x00793F}, {"\xB5\x6B", 0x007942}, {"\xB5\x6C", 0x007943}, 
{"\xB5\x6D", 0x007944}, {"\xB5\x6E", 0x007945}, {"\xB5\x6F", 0x007947}, {"\xB5\x70", 0x00794A}, 
{"\xB5\x71", 0x00794B}, {"\xB5\x72", 0x00794C}, {"\xB5\x73", 0x00794D}, {"\xB5\x74", 0x00794E}, 
{"\xB5\x75", 0x00794F}, {"\xB5\x76", 0x007950}, {"\xB5\x77", 0x007951}, {"\xB5\x78", 0x007952}, 
{"\xB5\x79", 0x007954}, {"\xB5\x7A", 0x007955}, {"\xB5\x7B", 0x007958}, {"\xB5\x7C", 0x007959}, 
{"\xB5\x7D", 0x007961}, {"\xB5\x7E", 0x007963}, {"\xB5\x80", 0x007964}, {"\xB5\x81", 0x007966}, 
{"\xB5\x82", 0x007969}, {"\xB5\x83", 0x00796A}, {"\xB5\x84", 0x00796B}, {"\xB5\x85", 0x00796C}, 
{"\xB5\x86", 0x00796E}, {"\xB5\x87", 0x007970}, {"\xB5\x88", 0x007971}, {"\xB5\x89", 0x007972}, 
{"\xB5\x8A", 0x007973}, {"\xB5\x8B", 0x007974}, {"\xB5\x8C", 0x007975}, {"\xB5\x8D", 0x007976}, 
{"\xB5\x8E", 0x007979}, {"\xB5\x8F", 0x00797B}, {"\xB5\x90", 0x00797C}, {"\xB5\x91", 0x00797D}, 
{"\xB5\x92", 0x00797E}, {"\xB5\x93", 0x00797F}, {"\xB5\x94", 0x007982}, {"\xB5\x95", 0x007983}, 
{"\xB5\x96", 0x007986}, {"\xB5\x97", 0x007987}, {"\xB5\x98", 0x007988}, {"\xB5\x99", 0x007989}, 
{"\xB5\x9A", 0x00798B}, {"\xB5\x9B", 0x00798C}, {"\xB5\x9C", 0x00798D}, {"\xB5\x9D", 0x00798E}, 
{"\xB5\x9E", 0x007990}, {"\xB5\x9F", 0x007991}, {"\xB5\xA0", 0x007992}, {"\xB5\xA1", 0x006020}, 
{"\xB5\xA2", 0x00803D}, {"\xB5\xA3", 0x0062C5}, {"\xB5\xA4", 0x004E39}, {"\xB5\xA5", 0x005355}, 
{"\xB5\xA6", 0x0090F8}, {"\xB5\xA7", 0x0063B8}, {"\xB5\xA8", 0x0080C6}, {"\xB5\xA9", 0x0065E6}, 
{"\xB5\xAA", 0x006C2E}, {"\xB5\xAB", 0x004F46}, {"\xB5\xAC", 0x0060EE}, {"\xB5\xAD", 0x006DE1}, 
{"\xB5\xAE", 0x008BDE}, {"\xB5\xAF", 0x005F39}, {"\xB5\xB0", 0x0086CB}, {"\xB5\xB1", 0x005F53}, 
{"\xB5\xB2", 0x006321}, {"\xB5\xB3", 0x00515A}, {"\xB5\xB4", 0x008361}, {"\xB5\xB5", 0x006863}, 
{"\xB5\xB6", 0x005200}, {"\xB5\xB7", 0x006363}, {"\xB5\xB8", 0x008E48}, {"\xB5\xB9", 0x005012}, 
{"\xB5\xBA", 0x005C9B}, {"\xB5\xBB", 0x007977}, {"\xB5\xBC", 0x005BFC}, {"\xB5\xBD", 0x005230}, 
{"\xB5\xBE", 0x007A3B}, {"\xB5\xBF", 0x0060BC}, {"\xB5\xC0", 0x009053}, {"\xB5\xC1", 0x0076D7}, 
{"\xB5\xC2", 0x005FB7}, {"\xB5\xC3", 0x005F97}, {"\xB5\xC4", 0x007684}, {"\xB5\xC5", 0x008E6C}, 
{"\xB5\xC6", 0x00706F}, {"\xB5\xC7", 0x00767B}, {"\xB5\xC8", 0x007B49}, {"\xB5\xC9", 0x0077AA}, 
{"\xB5\xCA", 0x0051F3}, {"\xB5\xCB", 0x009093}, {"\xB5\xCC", 0x005824}, {"\xB5\xCD", 0x004F4E}, 
{"\xB5\xCE", 0x006EF4}, {"\xB5\xCF", 0x008FEA}, {"\xB5\xD0", 0x00654C}, {"\xB5\xD1", 0x007B1B}, 
{"\xB5\xD2", 0x0072C4}, {"\xB5\xD3", 0x006DA4}, {"\xB5\xD4", 0x007FDF}, {"\xB5\xD5", 0x005AE1}, 
{"\xB5\xD6", 0x0062B5}, {"\xB5\xD7", 0x005E95}, {"\xB5\xD8", 0x005730}, {"\xB5\xD9", 0x008482}, 
{"\xB5\xDA", 0x007B2C}, {"\xB5\xDB", 0x005E1D}, {"\xB5\xDC", 0x005F1F}, {"\xB5\xDD", 0x009012}, 
{"\xB5\xDE", 0x007F14}, {"\xB5\xDF", 0x0098A0}, {"\xB5\xE0", 0x006382}, {"\xB5\xE1", 0x006EC7}, 
{"\xB5\xE2", 0x007898}, {"\xB5\xE3", 0x0070B9}, {"\xB5\xE4", 0x005178}, {"\xB5\xE5", 0x00975B}, 
{"\xB5\xE6", 0x0057AB}, {"\xB5\xE7", 0x007535}, {"\xB5\xE8", 0x004F43}, {"\xB5\xE9", 0x007538}, 
{"\xB5\xEA", 0x005E97}, {"\xB5\xEB", 0x0060E6}, {"\xB5\xEC", 0x005960}, {"\xB5\xED", 0x006DC0}, 
{"\xB5\xEE", 0x006BBF}, {"\xB5\xEF", 0x007889}, {"\xB5\xF0", 0x0053FC}, {"\xB5\xF1", 0x0096D5}, 
{"\xB5\xF2", 0x0051CB}, {"\xB5\xF3", 0x005201}, {"\xB5\xF4", 0x006389}, {"\xB5\xF5", 0x00540A}, 
{"\xB5\xF6", 0x009493}, {"\xB5\xF7", 0x008C03}, {"\xB5\xF8", 0x008DCC}, {"\xB5\xF9", 0x007239}, 
{"\xB5\xFA", 0x00789F}, {"\xB5\xFB", 0x008776}, {"\xB5\xFC", 0x008FED}, {"\xB5\xFD", 0x008C0D}, 
{"\xB5\xFE", 0x0053E0}, {"\xB6\x40", 0x007993}, {"\xB6\x41", 0x007994}, {"\xB6\x42", 0x007995}, 
{"\xB6\x43", 0x007996}, {"\xB6\x44", 0x007997}, {"\xB6\x45", 0x007998}, {"\xB6\x46", 0x007999}, 
{"\xB6\x47", 0x00799B}, {"\xB6\x48", 0x00799C}, {"\xB6\x49", 0x00799D}, {"\xB6\x4A", 0x00799E}, 
{"\xB6\x4B", 0x00799F}, {"\xB6\x4C", 0x0079A0}, {"\xB6\x4D", 0x0079A1}, {"\xB6\x4E", 0x0079A2}, 
{"\xB6\x4F", 0x0079A3}, {"\xB6\x50", 0x0079A4}, {"\xB6\x51", 0x0079A5}, {"\xB6\x52", 0x0079A6}, 
{"\xB6\x53", 0x0079A8}, {"\xB6\x54", 0x0079A9}, {"\xB6\x55", 0x0079AA}, {"\xB6\x56", 0x0079AB}, 
{"\xB6\x57", 0x0079AC}, {"\xB6\x58", 0x0079AD}, {"\xB6\x59", 0x0079AE}, {"\xB6\x5A", 0x0079AF}, 
{"\xB6\x5B", 0x0079B0}, {"\xB6\x5C", 0x0079B1}, {"\xB6\x5D", 0x0079B2}, {"\xB6\x5E", 0x0079B4}, 
{"\xB6\x5F", 0x0079B5}, {"\xB6\x60", 0x0079B6}, {"\xB6\x61", 0x0079B7}, {"\xB6\x62", 0x0079B8}, 
{"\xB6\x63", 0x0079BC}, {"\xB6\x64", 0x0079BF}, {"\xB6\x65", 0x0079C2}, {"\xB6\x66", 0x0079C4}, 
{"\xB6\x67", 0x0079C5}, {"\xB6\x68", 0x0079C7}, {"\xB6\x69", 0x0079C8}, {"\xB6\x6A", 0x0079CA}, 

};
 for(size_t i=1; i<sizeof(db2bmp_27_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_27_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_28_gb18030_init()
{
static MB2UData db2bmp_28_gb18030 [] = { {"", 0}, 
{"\xB6\x6B", 0x0079CC}, {"\xB6\x6C", 0x0079CE}, {"\xB6\x6D", 0x0079CF}, {"\xB6\x6E", 0x0079D0}, 
{"\xB6\x6F", 0x0079D3}, {"\xB6\x70", 0x0079D4}, {"\xB6\x71", 0x0079D6}, {"\xB6\x72", 0x0079D7}, 
{"\xB6\x73", 0x0079D9}, {"\xB6\x74", 0x0079DA}, {"\xB6\x75", 0x0079DB}, {"\xB6\x76", 0x0079DC}, 
{"\xB6\x77", 0x0079DD}, {"\xB6\x78", 0x0079DE}, {"\xB6\x79", 0x0079E0}, {"\xB6\x7A", 0x0079E1}, 
{"\xB6\x7B", 0x0079E2}, {"\xB6\x7C", 0x0079E5}, {"\xB6\x7D", 0x0079E8}, {"\xB6\x7E", 0x0079EA}, 
{"\xB6\x80", 0x0079EC}, {"\xB6\x81", 0x0079EE}, {"\xB6\x82", 0x0079F1}, {"\xB6\x83", 0x0079F2}, 
{"\xB6\x84", 0x0079F3}, {"\xB6\x85", 0x0079F4}, {"\xB6\x86", 0x0079F5}, {"\xB6\x87", 0x0079F6}, 
{"\xB6\x88", 0x0079F7}, {"\xB6\x89", 0x0079F9}, {"\xB6\x8A", 0x0079FA}, {"\xB6\x8B", 0x0079FC}, 
{"\xB6\x8C", 0x0079FE}, {"\xB6\x8D", 0x0079FF}, {"\xB6\x8E", 0x007A01}, {"\xB6\x8F", 0x007A04}, 
{"\xB6\x90", 0x007A05}, {"\xB6\x91", 0x007A07}, {"\xB6\x92", 0x007A08}, {"\xB6\x93", 0x007A09}, 
{"\xB6\x94", 0x007A0A}, {"\xB6\x95", 0x007A0C}, {"\xB6\x96", 0x007A0F}, {"\xB6\x97", 0x007A10}, 
{"\xB6\x98", 0x007A11}, {"\xB6\x99", 0x007A12}, {"\xB6\x9A", 0x007A13}, {"\xB6\x9B", 0x007A15}, 
{"\xB6\x9C", 0x007A16}, {"\xB6\x9D", 0x007A18}, {"\xB6\x9E", 0x007A19}, {"\xB6\x9F", 0x007A1B}, 
{"\xB6\xA0", 0x007A1C}, {"\xB6\xA1", 0x004E01}, {"\xB6\xA2", 0x0076EF}, {"\xB6\xA3", 0x0053EE}, 
{"\xB6\xA4", 0x009489}, {"\xB6\xA5", 0x009876}, {"\xB6\xA6", 0x009F0E}, {"\xB6\xA7", 0x00952D}, 
{"\xB6\xA8", 0x005B9A}, {"\xB6\xA9", 0x008BA2}, {"\xB6\xAA", 0x004E22}, {"\xB6\xAB", 0x004E1C}, 
{"\xB6\xAC", 0x0051AC}, {"\xB6\xAD", 0x008463}, {"\xB6\xAE", 0x0061C2}, {"\xB6\xAF", 0x0052A8}, 
{"\xB6\xB0", 0x00680B}, {"\xB6\xB1", 0x004F97}, {"\xB6\xB2", 0x00606B}, {"\xB6\xB3", 0x0051BB}, 
{"\xB6\xB4", 0x006D1E}, {"\xB6\xB5", 0x00515C}, {"\xB6\xB6", 0x006296}, {"\xB6\xB7", 0x006597}, 
{"\xB6\xB8", 0x009661}, {"\xB6\xB9", 0x008C46}, {"\xB6\xBA", 0x009017}, {"\xB6\xBB", 0x0075D8}, 
{"\xB6\xBC", 0x0090FD}, {"\xB6\xBD", 0x007763}, {"\xB6\xBE", 0x006BD2}, {"\xB6\xBF", 0x00728A}, 
{"\xB6\xC0", 0x0072EC}, {"\xB6\xC1", 0x008BFB}, {"\xB6\xC2", 0x005835}, {"\xB6\xC3", 0x007779}, 
{"\xB6\xC4", 0x008D4C}, {"\xB6\xC5", 0x00675C}, {"\xB6\xC6", 0x009540}, {"\xB6\xC7", 0x00809A}, 
{"\xB6\xC8", 0x005EA6}, {"\xB6\xC9", 0x006E21}, {"\xB6\xCA", 0x005992}, {"\xB6\xCB", 0x007AEF}, 
{"\xB6\xCC", 0x0077ED}, {"\xB6\xCD", 0x00953B}, {"\xB6\xCE", 0x006BB5}, {"\xB6\xCF", 0x0065AD}, 
{"\xB6\xD0", 0x007F0E}, {"\xB6\xD1", 0x005806}, {"\xB6\xD2", 0x005151}, {"\xB6\xD3", 0x00961F}, 
{"\xB6\xD4", 0x005BF9}, {"\xB6\xD5", 0x0058A9}, {"\xB6\xD6", 0x005428}, {"\xB6\xD7", 0x008E72}, 
{"\xB6\xD8", 0x006566}, {"\xB6\xD9", 0x00987F}, {"\xB6\xDA", 0x0056E4}, {"\xB6\xDB", 0x00949D}, 
{"\xB6\xDC", 0x0076FE}, {"\xB6\xDD", 0x009041}, {"\xB6\xDE", 0x006387}, {"\xB6\xDF", 0x0054C6}, 
{"\xB6\xE0", 0x00591A}, {"\xB6\xE1", 0x00593A}, {"\xB6\xE2", 0x00579B}, {"\xB6\xE3", 0x008EB2}, 
{"\xB6\xE4", 0x006735}, {"\xB6\xE5", 0x008DFA}, {"\xB6\xE6", 0x008235}, {"\xB6\xE7", 0x005241}, 
{"\xB6\xE8", 0x0060F0}, {"\xB6\xE9", 0x005815}, {"\xB6\xEA", 0x0086FE}, {"\xB6\xEB", 0x005CE8}, 
{"\xB6\xEC", 0x009E45}, {"\xB6\xED", 0x004FC4}, {"\xB6\xEE", 0x00989D}, {"\xB6\xEF", 0x008BB9}, 
{"\xB6\xF0", 0x005A25}, {"\xB6\xF1", 0x006076}, {"\xB6\xF2", 0x005384}, {"\xB6\xF3", 0x00627C}, 
{"\xB6\xF4", 0x00904F}, {"\xB6\xF5", 0x009102}, {"\xB6\xF6", 0x00997F}, {"\xB6\xF7", 0x006069}, 
{"\xB6\xF8", 0x00800C}, {"\xB6\xF9", 0x00513F}, {"\xB6\xFA", 0x008033}, {"\xB6\xFB", 0x005C14}, 
{"\xB6\xFC", 0x009975}, {"\xB6\xFD", 0x006D31}, {"\xB6\xFE", 0x004E8C}, {"\xB7\x40", 0x007A1D}, 
{"\xB7\x41", 0x007A1F}, {"\xB7\x42", 0x007A21}, {"\xB7\x43", 0x007A22}, {"\xB7\x44", 0x007A24}, 
{"\xB7\x45", 0x007A25}, {"\xB7\x46", 0x007A26}, {"\xB7\x47", 0x007A27}, {"\xB7\x48", 0x007A28}, 
{"\xB7\x49", 0x007A29}, {"\xB7\x4A", 0x007A2A}, {"\xB7\x4B", 0x007A2B}, {"\xB7\x4C", 0x007A2C}, 
{"\xB7\x4D", 0x007A2D}, {"\xB7\x4E", 0x007A2E}, {"\xB7\x4F", 0x007A2F}, {"\xB7\x50", 0x007A30}, 
{"\xB7\x51", 0x007A31}, {"\xB7\x52", 0x007A32}, {"\xB7\x53", 0x007A34}, {"\xB7\x54", 0x007A35}, 
{"\xB7\x55", 0x007A36}, {"\xB7\x56", 0x007A38}, {"\xB7\x57", 0x007A3A}, {"\xB7\x58", 0x007A3E}, 
{"\xB7\x59", 0x007A40}, {"\xB7\x5A", 0x007A41}, {"\xB7\x5B", 0x007A42}, {"\xB7\x5C", 0x007A43}, 
{"\xB7\x5D", 0x007A44}, {"\xB7\x5E", 0x007A45}, {"\xB7\x5F", 0x007A47}, {"\xB7\x60", 0x007A48}, 
{"\xB7\x61", 0x007A49}, {"\xB7\x62", 0x007A4A}, {"\xB7\x63", 0x007A4B}, {"\xB7\x64", 0x007A4C}, 
{"\xB7\x65", 0x007A4D}, {"\xB7\x66", 0x007A4E}, {"\xB7\x67", 0x007A4F}, {"\xB7\x68", 0x007A50}, 
{"\xB7\x69", 0x007A52}, {"\xB7\x6A", 0x007A53}, {"\xB7\x6B", 0x007A54}, {"\xB7\x6C", 0x007A55}, 
{"\xB7\x6D", 0x007A56}, {"\xB7\x6E", 0x007A58}, {"\xB7\x6F", 0x007A59}, {"\xB7\x70", 0x007A5A}, 
{"\xB7\x71", 0x007A5B}, {"\xB7\x72", 0x007A5C}, {"\xB7\x73", 0x007A5D}, {"\xB7\x74", 0x007A5E}, 
{"\xB7\x75", 0x007A5F}, {"\xB7\x76", 0x007A60}, {"\xB7\x77", 0x007A61}, {"\xB7\x78", 0x007A62}, 
{"\xB7\x79", 0x007A63}, {"\xB7\x7A", 0x007A64}, {"\xB7\x7B", 0x007A65}, {"\xB7\x7C", 0x007A66}, 
{"\xB7\x7D", 0x007A67}, {"\xB7\x7E", 0x007A68}, {"\xB7\x80", 0x007A69}, {"\xB7\x81", 0x007A6A}, 
{"\xB7\x82", 0x007A6B}, {"\xB7\x83", 0x007A6C}, {"\xB7\x84", 0x007A6D}, {"\xB7\x85", 0x007A6E}, 
{"\xB7\x86", 0x007A6F}, {"\xB7\x87", 0x007A71}, {"\xB7\x88", 0x007A72}, {"\xB7\x89", 0x007A73}, 
{"\xB7\x8A", 0x007A75}, {"\xB7\x8B", 0x007A7B}, {"\xB7\x8C", 0x007A7C}, {"\xB7\x8D", 0x007A7D}, 
{"\xB7\x8E", 0x007A7E}, {"\xB7\x8F", 0x007A82}, {"\xB7\x90", 0x007A85}, {"\xB7\x91", 0x007A87}, 
{"\xB7\x92", 0x007A89}, {"\xB7\x93", 0x007A8A}, {"\xB7\x94", 0x007A8B}, {"\xB7\x95", 0x007A8C}, 
{"\xB7\x96", 0x007A8E}, {"\xB7\x97", 0x007A8F}, {"\xB7\x98", 0x007A90}, {"\xB7\x99", 0x007A93}, 
{"\xB7\x9A", 0x007A94}, {"\xB7\x9B", 0x007A99}, {"\xB7\x9C", 0x007A9A}, {"\xB7\x9D", 0x007A9B}, 
{"\xB7\x9E", 0x007A9E}, {"\xB7\x9F", 0x007AA1}, {"\xB7\xA0", 0x007AA2}, {"\xB7\xA1", 0x008D30}, 
{"\xB7\xA2", 0x0053D1}, {"\xB7\xA3", 0x007F5A}, {"\xB7\xA4", 0x007B4F}, {"\xB7\xA5", 0x004F10}, 
{"\xB7\xA6", 0x004E4F}, {"\xB7\xA7", 0x009600}, {"\xB7\xA8", 0x006CD5}, {"\xB7\xA9", 0x0073D0}, 
{"\xB7\xAA", 0x0085E9}, {"\xB7\xAB", 0x005E06}, {"\xB7\xAC", 0x00756A}, {"\xB7\xAD", 0x007FFB}, 

};
 for(size_t i=1; i<sizeof(db2bmp_28_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_28_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_29_gb18030_init()
{
static MB2UData db2bmp_29_gb18030 [] = { {"", 0}, 
{"\xB7\xAE", 0x006A0A}, {"\xB7\xAF", 0x0077FE}, {"\xB7\xB0", 0x009492}, {"\xB7\xB1", 0x007E41}, 
{"\xB7\xB2", 0x0051E1}, {"\xB7\xB3", 0x0070E6}, {"\xB7\xB4", 0x0053CD}, {"\xB7\xB5", 0x008FD4}, 
{"\xB7\xB6", 0x008303}, {"\xB7\xB7", 0x008D29}, {"\xB7\xB8", 0x0072AF}, {"\xB7\xB9", 0x00996D}, 
{"\xB7\xBA", 0x006CDB}, {"\xB7\xBB", 0x00574A}, {"\xB7\xBC", 0x0082B3}, {"\xB7\xBD", 0x0065B9}, 
{"\xB7\xBE", 0x0080AA}, {"\xB7\xBF", 0x00623F}, {"\xB7\xC0", 0x009632}, {"\xB7\xC1", 0x0059A8}, 
{"\xB7\xC2", 0x004EFF}, {"\xB7\xC3", 0x008BBF}, {"\xB7\xC4", 0x007EBA}, {"\xB7\xC5", 0x00653E}, 
{"\xB7\xC6", 0x0083F2}, {"\xB7\xC7", 0x00975E}, {"\xB7\xC8", 0x005561}, {"\xB7\xC9", 0x0098DE}, 
{"\xB7\xCA", 0x0080A5}, {"\xB7\xCB", 0x00532A}, {"\xB7\xCC", 0x008BFD}, {"\xB7\xCD", 0x005420}, 
{"\xB7\xCE", 0x0080BA}, {"\xB7\xCF", 0x005E9F}, {"\xB7\xD0", 0x006CB8}, {"\xB7\xD1", 0x008D39}, 
{"\xB7\xD2", 0x0082AC}, {"\xB7\xD3", 0x00915A}, {"\xB7\xD4", 0x005429}, {"\xB7\xD5", 0x006C1B}, 
{"\xB7\xD6", 0x005206}, {"\xB7\xD7", 0x007EB7}, {"\xB7\xD8", 0x00575F}, {"\xB7\xD9", 0x00711A}, 
{"\xB7\xDA", 0x006C7E}, {"\xB7\xDB", 0x007C89}, {"\xB7\xDC", 0x00594B}, {"\xB7\xDD", 0x004EFD}, 
{"\xB7\xDE", 0x005FFF}, {"\xB7\xDF", 0x006124}, {"\xB7\xE0", 0x007CAA}, {"\xB7\xE1", 0x004E30}, 
{"\xB7\xE2", 0x005C01}, {"\xB7\xE3", 0x0067AB}, {"\xB7\xE4", 0x008702}, {"\xB7\xE5", 0x005CF0}, 
{"\xB7\xE6", 0x00950B}, {"\xB7\xE7", 0x0098CE}, {"\xB7\xE8", 0x0075AF}, {"\xB7\xE9", 0x0070FD}, 
{"\xB7\xEA", 0x009022}, {"\xB7\xEB", 0x0051AF}, {"\xB7\xEC", 0x007F1D}, {"\xB7\xED", 0x008BBD}, 
{"\xB7\xEE", 0x005949}, {"\xB7\xEF", 0x0051E4}, {"\xB7\xF0", 0x004F5B}, {"\xB7\xF1", 0x005426}, 
{"\xB7\xF2", 0x00592B}, {"\xB7\xF3", 0x006577}, {"\xB7\xF4", 0x0080A4}, {"\xB7\xF5", 0x005B75}, 
{"\xB7\xF6", 0x006276}, {"\xB7\xF7", 0x0062C2}, {"\xB7\xF8", 0x008F90}, {"\xB7\xF9", 0x005E45}, 
{"\xB7\xFA", 0x006C1F}, {"\xB7\xFB", 0x007B26}, {"\xB7\xFC", 0x004F0F}, {"\xB7\xFD", 0x004FD8}, 
{"\xB7\xFE", 0x00670D}, {"\xB8\x40", 0x007AA3}, {"\xB8\x41", 0x007AA4}, {"\xB8\x42", 0x007AA7}, 
{"\xB8\x43", 0x007AA9}, {"\xB8\x44", 0x007AAA}, {"\xB8\x45", 0x007AAB}, {"\xB8\x46", 0x007AAE}, 
{"\xB8\x47", 0x007AAF}, {"\xB8\x48", 0x007AB0}, {"\xB8\x49", 0x007AB1}, {"\xB8\x4A", 0x007AB2}, 
{"\xB8\x4B", 0x007AB4}, {"\xB8\x4C", 0x007AB5}, {"\xB8\x4D", 0x007AB6}, {"\xB8\x4E", 0x007AB7}, 
{"\xB8\x4F", 0x007AB8}, {"\xB8\x50", 0x007AB9}, {"\xB8\x51", 0x007ABA}, {"\xB8\x52", 0x007ABB}, 
{"\xB8\x53", 0x007ABC}, {"\xB8\x54", 0x007ABD}, {"\xB8\x55", 0x007ABE}, {"\xB8\x56", 0x007AC0}, 
{"\xB8\x57", 0x007AC1}, {"\xB8\x58", 0x007AC2}, {"\xB8\x59", 0x007AC3}, {"\xB8\x5A", 0x007AC4}, 
{"\xB8\x5B", 0x007AC5}, {"\xB8\x5C", 0x007AC6}, {"\xB8\x5D", 0x007AC7}, {"\xB8\x5E", 0x007AC8}, 
{"\xB8\x5F", 0x007AC9}, {"\xB8\x60", 0x007ACA}, {"\xB8\x61", 0x007ACC}, {"\xB8\x62", 0x007ACD}, 
{"\xB8\x63", 0x007ACE}, {"\xB8\x64", 0x007ACF}, {"\xB8\x65", 0x007AD0}, {"\xB8\x66", 0x007AD1}, 
{"\xB8\x67", 0x007AD2}, {"\xB8\x68", 0x007AD3}, {"\xB8\x69", 0x007AD4}, {"\xB8\x6A", 0x007AD5}, 
{"\xB8\x6B", 0x007AD7}, {"\xB8\x6C", 0x007AD8}, {"\xB8\x6D", 0x007ADA}, {"\xB8\x6E", 0x007ADB}, 
{"\xB8\x6F", 0x007ADC}, {"\xB8\x70", 0x007ADD}, {"\xB8\x71", 0x007AE1}, {"\xB8\x72", 0x007AE2}, 
{"\xB8\x73", 0x007AE4}, {"\xB8\x74", 0x007AE7}, {"\xB8\x75", 0x007AE8}, {"\xB8\x76", 0x007AE9}, 
{"\xB8\x77", 0x007AEA}, {"\xB8\x78", 0x007AEB}, {"\xB8\x79", 0x007AEC}, {"\xB8\x7A", 0x007AEE}, 
{"\xB8\x7B", 0x007AF0}, {"\xB8\x7C", 0x007AF1}, {"\xB8\x7D", 0x007AF2}, {"\xB8\x7E", 0x007AF3}, 
{"\xB8\x80", 0x007AF4}, {"\xB8\x81", 0x007AF5}, {"\xB8\x82", 0x007AF6}, {"\xB8\x83", 0x007AF7}, 
{"\xB8\x84", 0x007AF8}, {"\xB8\x85", 0x007AFB}, {"\xB8\x86", 0x007AFC}, {"\xB8\x87", 0x007AFE}, 
{"\xB8\x88", 0x007B00}, {"\xB8\x89", 0x007B01}, {"\xB8\x8A", 0x007B02}, {"\xB8\x8B", 0x007B05}, 
{"\xB8\x8C", 0x007B07}, {"\xB8\x8D", 0x007B09}, {"\xB8\x8E", 0x007B0C}, {"\xB8\x8F", 0x007B0D}, 
{"\xB8\x90", 0x007B0E}, {"\xB8\x91", 0x007B10}, {"\xB8\x92", 0x007B12}, {"\xB8\x93", 0x007B13}, 
{"\xB8\x94", 0x007B16}, {"\xB8\x95", 0x007B17}, {"\xB8\x96", 0x007B18}, {"\xB8\x97", 0x007B1A}, 
{"\xB8\x98", 0x007B1C}, {"\xB8\x99", 0x007B1D}, {"\xB8\x9A", 0x007B1F}, {"\xB8\x9B", 0x007B21}, 
{"\xB8\x9C", 0x007B22}, {"\xB8\x9D", 0x007B23}, {"\xB8\x9E", 0x007B27}, {"\xB8\x9F", 0x007B29}, 
{"\xB8\xA0", 0x007B2D}, {"\xB8\xA1", 0x006D6E}, {"\xB8\xA2", 0x006DAA}, {"\xB8\xA3", 0x00798F}, 
{"\xB8\xA4", 0x0088B1}, {"\xB8\xA5", 0x005F17}, {"\xB8\xA6", 0x00752B}, {"\xB8\xA7", 0x00629A}, 
{"\xB8\xA8", 0x008F85}, {"\xB8\xA9", 0x004FEF}, {"\xB8\xAA", 0x0091DC}, {"\xB8\xAB", 0x0065A7}, 
{"\xB8\xAC", 0x00812F}, {"\xB8\xAD", 0x008151}, {"\xB8\xAE", 0x005E9C}, {"\xB8\xAF", 0x008150}, 
{"\xB8\xB0", 0x008D74}, {"\xB8\xB1", 0x00526F}, {"\xB8\xB2", 0x008986}, {"\xB8\xB3", 0x008D4B}, 
{"\xB8\xB4", 0x00590D}, {"\xB8\xB5", 0x005085}, {"\xB8\xB6", 0x004ED8}, {"\xB8\xB7", 0x00961C}, 
{"\xB8\xB8", 0x007236}, {"\xB8\xB9", 0x008179}, {"\xB8\xBA", 0x008D1F}, {"\xB8\xBB", 0x005BCC}, 
{"\xB8\xBC", 0x008BA3}, {"\xB8\xBD", 0x009644}, {"\xB8\xBE", 0x005987}, {"\xB8\xBF", 0x007F1A}, 
{"\xB8\xC0", 0x005490}, {"\xB8\xC1", 0x005676}, {"\xB8\xC2", 0x00560E}, {"\xB8\xC3", 0x008BE5}, 
{"\xB8\xC4", 0x006539}, {"\xB8\xC5", 0x006982}, {"\xB8\xC6", 0x009499}, {"\xB8\xC7", 0x0076D6}, 
{"\xB8\xC8", 0x006E89}, {"\xB8\xC9", 0x005E72}, {"\xB8\xCA", 0x007518}, {"\xB8\xCB", 0x006746}, 
{"\xB8\xCC", 0x0067D1}, {"\xB8\xCD", 0x007AFF}, {"\xB8\xCE", 0x00809D}, {"\xB8\xCF", 0x008D76}, 
{"\xB8\xD0", 0x00611F}, {"\xB8\xD1", 0x0079C6}, {"\xB8\xD2", 0x006562}, {"\xB8\xD3", 0x008D63}, 
{"\xB8\xD4", 0x005188}, {"\xB8\xD5", 0x00521A}, {"\xB8\xD6", 0x0094A2}, {"\xB8\xD7", 0x007F38}, 
{"\xB8\xD8", 0x00809B}, {"\xB8\xD9", 0x007EB2}, {"\xB8\xDA", 0x005C97}, {"\xB8\xDB", 0x006E2F}, 
{"\xB8\xDC", 0x006760}, {"\xB8\xDD", 0x007BD9}, {"\xB8\xDE", 0x00768B}, {"\xB8\xDF", 0x009AD8}, 
{"\xB8\xE0", 0x00818F}, {"\xB8\xE1", 0x007F94}, {"\xB8\xE2", 0x007CD5}, {"\xB8\xE3", 0x00641E}, 
{"\xB8\xE4", 0x009550}, {"\xB8\xE5", 0x007A3F}, {"\xB8\xE6", 0x00544A}, {"\xB8\xE7", 0x0054E5}, 
{"\xB8\xE8", 0x006B4C}, {"\xB8\xE9", 0x006401}, {"\xB8\xEA", 0x006208}, {"\xB8\xEB", 0x009E3D}, 
{"\xB8\xEC", 0x0080F3}, {"\xB8\xED", 0x007599}, {"\xB8\xEE", 0x005272}, {"\xB8\xEF", 0x009769}, 

};
 for(size_t i=1; i<sizeof(db2bmp_29_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_29_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_2a_gb18030_init()
{
static MB2UData db2bmp_2a_gb18030 [] = { {"", 0}, 
{"\xB8\xF0", 0x00845B}, {"\xB8\xF1", 0x00683C}, {"\xB8\xF2", 0x0086E4}, {"\xB8\xF3", 0x009601}, 
{"\xB8\xF4", 0x009694}, {"\xB8\xF5", 0x0094EC}, {"\xB8\xF6", 0x004E2A}, {"\xB8\xF7", 0x005404}, 
{"\xB8\xF8", 0x007ED9}, {"\xB8\xF9", 0x006839}, {"\xB8\xFA", 0x008DDF}, {"\xB8\xFB", 0x008015}, 
{"\xB8\xFC", 0x0066F4}, {"\xB8\xFD", 0x005E9A}, {"\xB8\xFE", 0x007FB9}, {"\xB9\x40", 0x007B2F}, 
{"\xB9\x41", 0x007B30}, {"\xB9\x42", 0x007B32}, {"\xB9\x43", 0x007B34}, {"\xB9\x44", 0x007B35}, 
{"\xB9\x45", 0x007B36}, {"\xB9\x46", 0x007B37}, {"\xB9\x47", 0x007B39}, {"\xB9\x48", 0x007B3B}, 
{"\xB9\x49", 0x007B3D}, {"\xB9\x4A", 0x007B3F}, {"\xB9\x4B", 0x007B40}, {"\xB9\x4C", 0x007B41}, 
{"\xB9\x4D", 0x007B42}, {"\xB9\x4E", 0x007B43}, {"\xB9\x4F", 0x007B44}, {"\xB9\x50", 0x007B46}, 
{"\xB9\x51", 0x007B48}, {"\xB9\x52", 0x007B4A}, {"\xB9\x53", 0x007B4D}, {"\xB9\x54", 0x007B4E}, 
{"\xB9\x55", 0x007B53}, {"\xB9\x56", 0x007B55}, {"\xB9\x57", 0x007B57}, {"\xB9\x58", 0x007B59}, 
{"\xB9\x59", 0x007B5C}, {"\xB9\x5A", 0x007B5E}, {"\xB9\x5B", 0x007B5F}, {"\xB9\x5C", 0x007B61}, 
{"\xB9\x5D", 0x007B63}, {"\xB9\x5E", 0x007B64}, {"\xB9\x5F", 0x007B65}, {"\xB9\x60", 0x007B66}, 
{"\xB9\x61", 0x007B67}, {"\xB9\x62", 0x007B68}, {"\xB9\x63", 0x007B69}, {"\xB9\x64", 0x007B6A}, 
{"\xB9\x65", 0x007B6B}, {"\xB9\x66", 0x007B6C}, {"\xB9\x67", 0x007B6D}, {"\xB9\x68", 0x007B6F}, 
{"\xB9\x69", 0x007B70}, {"\xB9\x6A", 0x007B73}, {"\xB9\x6B", 0x007B74}, {"\xB9\x6C", 0x007B76}, 
{"\xB9\x6D", 0x007B78}, {"\xB9\x6E", 0x007B7A}, {"\xB9\x6F", 0x007B7C}, {"\xB9\x70", 0x007B7D}, 
{"\xB9\x71", 0x007B7F}, {"\xB9\x72", 0x007B81}, {"\xB9\x73", 0x007B82}, {"\xB9\x74", 0x007B83}, 
{"\xB9\x75", 0x007B84}, {"\xB9\x76", 0x007B86}, {"\xB9\x77", 0x007B87}, {"\xB9\x78", 0x007B88}, 
{"\xB9\x79", 0x007B89}, {"\xB9\x7A", 0x007B8A}, {"\xB9\x7B", 0x007B8B}, {"\xB9\x7C", 0x007B8C}, 
{"\xB9\x7D", 0x007B8E}, {"\xB9\x7E", 0x007B8F}, {"\xB9\x80", 0x007B91}, {"\xB9\x81", 0x007B92}, 
{"\xB9\x82", 0x007B93}, {"\xB9\x83", 0x007B96}, {"\xB9\x84", 0x007B98}, {"\xB9\x85", 0x007B99}, 
{"\xB9\x86", 0x007B9A}, {"\xB9\x87", 0x007B9B}, {"\xB9\x88", 0x007B9E}, {"\xB9\x89", 0x007B9F}, 
{"\xB9\x8A", 0x007BA0}, {"\xB9\x8B", 0x007BA3}, {"\xB9\x8C", 0x007BA4}, {"\xB9\x8D", 0x007BA5}, 
{"\xB9\x8E", 0x007BAE}, {"\xB9\x8F", 0x007BAF}, {"\xB9\x90", 0x007BB0}, {"\xB9\x91", 0x007BB2}, 
{"\xB9\x92", 0x007BB3}, {"\xB9\x93", 0x007BB5}, {"\xB9\x94", 0x007BB6}, {"\xB9\x95", 0x007BB7}, 
{"\xB9\x96", 0x007BB9}, {"\xB9\x97", 0x007BBA}, {"\xB9\x98", 0x007BBB}, {"\xB9\x99", 0x007BBC}, 
{"\xB9\x9A", 0x007BBD}, {"\xB9\x9B", 0x007BBE}, {"\xB9\x9C", 0x007BBF}, {"\xB9\x9D", 0x007BC0}, 
{"\xB9\x9E", 0x007BC2}, {"\xB9\x9F", 0x007BC3}, {"\xB9\xA0", 0x007BC4}, {"\xB9\xA1", 0x0057C2}, 
{"\xB9\xA2", 0x00803F}, {"\xB9\xA3", 0x006897}, {"\xB9\xA4", 0x005DE5}, {"\xB9\xA5", 0x00653B}, 
{"\xB9\xA6", 0x00529F}, {"\xB9\xA7", 0x00606D}, {"\xB9\xA8", 0x009F9A}, {"\xB9\xA9", 0x004F9B}, 
{"\xB9\xAA", 0x008EAC}, {"\xB9\xAB", 0x00516C}, {"\xB9\xAC", 0x005BAB}, {"\xB9\xAD", 0x005F13}, 
{"\xB9\xAE", 0x005DE9}, {"\xB9\xAF", 0x006C5E}, {"\xB9\xB0", 0x0062F1}, {"\xB9\xB1", 0x008D21}, 
{"\xB9\xB2", 0x005171}, {"\xB9\xB3", 0x0094A9}, {"\xB9\xB4", 0x0052FE}, {"\xB9\xB5", 0x006C9F}, 
{"\xB9\xB6", 0x0082DF}, {"\xB9\xB7", 0x0072D7}, {"\xB9\xB8", 0x0057A2}, {"\xB9\xB9", 0x006784}, 
{"\xB9\xBA", 0x008D2D}, {"\xB9\xBB", 0x00591F}, {"\xB9\xBC", 0x008F9C}, {"\xB9\xBD", 0x0083C7}, 
{"\xB9\xBE", 0x005495}, {"\xB9\xBF", 0x007B8D}, {"\xB9\xC0", 0x004F30}, {"\xB9\xC1", 0x006CBD}, 
{"\xB9\xC2", 0x005B64}, {"\xB9\xC3", 0x0059D1}, {"\xB9\xC4", 0x009F13}, {"\xB9\xC5", 0x0053E4}, 
{"\xB9\xC6", 0x0086CA}, {"\xB9\xC7", 0x009AA8}, {"\xB9\xC8", 0x008C37}, {"\xB9\xC9", 0x0080A1}, 
{"\xB9\xCA", 0x006545}, {"\xB9\xCB", 0x00987E}, {"\xB9\xCC", 0x0056FA}, {"\xB9\xCD", 0x0096C7}, 
{"\xB9\xCE", 0x00522E}, {"\xB9\xCF", 0x0074DC}, {"\xB9\xD0", 0x005250}, {"\xB9\xD1", 0x005BE1}, 
{"\xB9\xD2", 0x006302}, {"\xB9\xD3", 0x008902}, {"\xB9\xD4", 0x004E56}, {"\xB9\xD5", 0x0062D0}, 
{"\xB9\xD6", 0x00602A}, {"\xB9\xD7", 0x0068FA}, {"\xB9\xD8", 0x005173}, {"\xB9\xD9", 0x005B98}, 
{"\xB9\xDA", 0x0051A0}, {"\xB9\xDB", 0x0089C2}, {"\xB9\xDC", 0x007BA1}, {"\xB9\xDD", 0x009986}, 
{"\xB9\xDE", 0x007F50}, {"\xB9\xDF", 0x0060EF}, {"\xB9\xE0", 0x00704C}, {"\xB9\xE1", 0x008D2F}, 
{"\xB9\xE2", 0x005149}, {"\xB9\xE3", 0x005E7F}, {"\xB9\xE4", 0x00901B}, {"\xB9\xE5", 0x007470}, 
{"\xB9\xE6", 0x0089C4}, {"\xB9\xE7", 0x00572D}, {"\xB9\xE8", 0x007845}, {"\xB9\xE9", 0x005F52}, 
{"\xB9\xEA", 0x009F9F}, {"\xB9\xEB", 0x0095FA}, {"\xB9\xEC", 0x008F68}, {"\xB9\xED", 0x009B3C}, 
{"\xB9\xEE", 0x008BE1}, {"\xB9\xEF", 0x007678}, {"\xB9\xF0", 0x006842}, {"\xB9\xF1", 0x0067DC}, 
{"\xB9\xF2", 0x008DEA}, {"\xB9\xF3", 0x008D35}, {"\xB9\xF4", 0x00523D}, {"\xB9\xF5", 0x008F8A}, 
{"\xB9\xF6", 0x006EDA}, {"\xB9\xF7", 0x0068CD}, {"\xB9\xF8", 0x009505}, {"\xB9\xF9", 0x0090ED}, 
{"\xB9\xFA", 0x0056FD}, {"\xB9\xFB", 0x00679C}, {"\xB9\xFC", 0x0088F9}, {"\xB9\xFD", 0x008FC7}, 
{"\xB9\xFE", 0x0054C8}, {"\xBA\x40", 0x007BC5}, {"\xBA\x41", 0x007BC8}, {"\xBA\x42", 0x007BC9}, 
{"\xBA\x43", 0x007BCA}, {"\xBA\x44", 0x007BCB}, {"\xBA\x45", 0x007BCD}, {"\xBA\x46", 0x007BCE}, 
{"\xBA\x47", 0x007BCF}, {"\xBA\x48", 0x007BD0}, {"\xBA\x49", 0x007BD2}, {"\xBA\x4A", 0x007BD4}, 
{"\xBA\x4B", 0x007BD5}, {"\xBA\x4C", 0x007BD6}, {"\xBA\x4D", 0x007BD7}, {"\xBA\x4E", 0x007BD8}, 
{"\xBA\x4F", 0x007BDB}, {"\xBA\x50", 0x007BDC}, {"\xBA\x51", 0x007BDE}, {"\xBA\x52", 0x007BDF}, 
{"\xBA\x53", 0x007BE0}, {"\xBA\x54", 0x007BE2}, {"\xBA\x55", 0x007BE3}, {"\xBA\x56", 0x007BE4}, 
{"\xBA\x57", 0x007BE7}, {"\xBA\x58", 0x007BE8}, {"\xBA\x59", 0x007BE9}, {"\xBA\x5A", 0x007BEB}, 
{"\xBA\x5B", 0x007BEC}, {"\xBA\x5C", 0x007BED}, {"\xBA\x5D", 0x007BEF}, {"\xBA\x5E", 0x007BF0}, 
{"\xBA\x5F", 0x007BF2}, {"\xBA\x60", 0x007BF3}, {"\xBA\x61", 0x007BF4}, {"\xBA\x62", 0x007BF5}, 
{"\xBA\x63", 0x007BF6}, {"\xBA\x64", 0x007BF8}, {"\xBA\x65", 0x007BF9}, {"\xBA\x66", 0x007BFA}, 
{"\xBA\x67", 0x007BFB}, {"\xBA\x68", 0x007BFD}, {"\xBA\x69", 0x007BFF}, {"\xBA\x6A", 0x007C00}, 
{"\xBA\x6B", 0x007C01}, {"\xBA\x6C", 0x007C02}, {"\xBA\x6D", 0x007C03}, {"\xBA\x6E", 0x007C04}, 
{"\xBA\x6F", 0x007C05}, {"\xBA\x70", 0x007C06}, {"\xBA\x71", 0x007C08}, {"\xBA\x72", 0x007C09}, 

};
 for(size_t i=1; i<sizeof(db2bmp_2a_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_2a_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_2b_gb18030_init()
{
static MB2UData db2bmp_2b_gb18030 [] = { {"", 0}, 
{"\xBA\x73", 0x007C0A}, {"\xBA\x74", 0x007C0D}, {"\xBA\x75", 0x007C0E}, {"\xBA\x76", 0x007C10}, 
{"\xBA\x77", 0x007C11}, {"\xBA\x78", 0x007C12}, {"\xBA\x79", 0x007C13}, {"\xBA\x7A", 0x007C14}, 
{"\xBA\x7B", 0x007C15}, {"\xBA\x7C", 0x007C17}, {"\xBA\x7D", 0x007C18}, {"\xBA\x7E", 0x007C19}, 
{"\xBA\x80", 0x007C1A}, {"\xBA\x81", 0x007C1B}, {"\xBA\x82", 0x007C1C}, {"\xBA\x83", 0x007C1D}, 
{"\xBA\x84", 0x007C1E}, {"\xBA\x85", 0x007C20}, {"\xBA\x86", 0x007C21}, {"\xBA\x87", 0x007C22}, 
{"\xBA\x88", 0x007C23}, {"\xBA\x89", 0x007C24}, {"\xBA\x8A", 0x007C25}, {"\xBA\x8B", 0x007C28}, 
{"\xBA\x8C", 0x007C29}, {"\xBA\x8D", 0x007C2B}, {"\xBA\x8E", 0x007C2C}, {"\xBA\x8F", 0x007C2D}, 
{"\xBA\x90", 0x007C2E}, {"\xBA\x91", 0x007C2F}, {"\xBA\x92", 0x007C30}, {"\xBA\x93", 0x007C31}, 
{"\xBA\x94", 0x007C32}, {"\xBA\x95", 0x007C33}, {"\xBA\x96", 0x007C34}, {"\xBA\x97", 0x007C35}, 
{"\xBA\x98", 0x007C36}, {"\xBA\x99", 0x007C37}, {"\xBA\x9A", 0x007C39}, {"\xBA\x9B", 0x007C3A}, 
{"\xBA\x9C", 0x007C3B}, {"\xBA\x9D", 0x007C3C}, {"\xBA\x9E", 0x007C3D}, {"\xBA\x9F", 0x007C3E}, 
{"\xBA\xA0", 0x007C42}, {"\xBA\xA1", 0x009AB8}, {"\xBA\xA2", 0x005B69}, {"\xBA\xA3", 0x006D77}, 
{"\xBA\xA4", 0x006C26}, {"\xBA\xA5", 0x004EA5}, {"\xBA\xA6", 0x005BB3}, {"\xBA\xA7", 0x009A87}, 
{"\xBA\xA8", 0x009163}, {"\xBA\xA9", 0x0061A8}, {"\xBA\xAA", 0x0090AF}, {"\xBA\xAB", 0x0097E9}, 
{"\xBA\xAC", 0x00542B}, {"\xBA\xAD", 0x006DB5}, {"\xBA\xAE", 0x005BD2}, {"\xBA\xAF", 0x0051FD}, 
{"\xBA\xB0", 0x00558A}, {"\xBA\xB1", 0x007F55}, {"\xBA\xB2", 0x007FF0}, {"\xBA\xB3", 0x0064BC}, 
{"\xBA\xB4", 0x00634D}, {"\xBA\xB5", 0x0065F1}, {"\xBA\xB6", 0x0061BE}, {"\xBA\xB7", 0x00608D}, 
{"\xBA\xB8", 0x00710A}, {"\xBA\xB9", 0x006C57}, {"\xBA\xBA", 0x006C49}, {"\xBA\xBB", 0x00592F}, 
{"\xBA\xBC", 0x00676D}, {"\xBA\xBD", 0x00822A}, {"\xBA\xBE", 0x0058D5}, {"\xBA\xBF", 0x00568E}, 
{"\xBA\xC0", 0x008C6A}, {"\xBA\xC1", 0x006BEB}, {"\xBA\xC2", 0x0090DD}, {"\xBA\xC3", 0x00597D}, 
{"\xBA\xC4", 0x008017}, {"\xBA\xC5", 0x0053F7}, {"\xBA\xC6", 0x006D69}, {"\xBA\xC7", 0x005475}, 
{"\xBA\xC8", 0x00559D}, {"\xBA\xC9", 0x008377}, {"\xBA\xCA", 0x0083CF}, {"\xBA\xCB", 0x006838}, 
{"\xBA\xCC", 0x0079BE}, {"\xBA\xCD", 0x00548C}, {"\xBA\xCE", 0x004F55}, {"\xBA\xCF", 0x005408}, 
{"\xBA\xD0", 0x0076D2}, {"\xBA\xD1", 0x008C89}, {"\xBA\xD2", 0x009602}, {"\xBA\xD3", 0x006CB3}, 
{"\xBA\xD4", 0x006DB8}, {"\xBA\xD5", 0x008D6B}, {"\xBA\xD6", 0x008910}, {"\xBA\xD7", 0x009E64}, 
{"\xBA\xD8", 0x008D3A}, {"\xBA\xD9", 0x00563F}, {"\xBA\xDA", 0x009ED1}, {"\xBA\xDB", 0x0075D5}, 
{"\xBA\xDC", 0x005F88}, {"\xBA\xDD", 0x0072E0}, {"\xBA\xDE", 0x006068}, {"\xBA\xDF", 0x0054FC}, 
{"\xBA\xE0", 0x004EA8}, {"\xBA\xE1", 0x006A2A}, {"\xBA\xE2", 0x008861}, {"\xBA\xE3", 0x006052}, 
{"\xBA\xE4", 0x008F70}, {"\xBA\xE5", 0x0054C4}, {"\xBA\xE6", 0x0070D8}, {"\xBA\xE7", 0x008679}, 
{"\xBA\xE8", 0x009E3F}, {"\xBA\xE9", 0x006D2A}, {"\xBA\xEA", 0x005B8F}, {"\xBA\xEB", 0x005F18}, 
{"\xBA\xEC", 0x007EA2}, {"\xBA\xED", 0x005589}, {"\xBA\xEE", 0x004FAF}, {"\xBA\xEF", 0x007334}, 
{"\xBA\xF0", 0x00543C}, {"\xBA\xF1", 0x00539A}, {"\xBA\xF2", 0x005019}, {"\xBA\xF3", 0x00540E}, 
{"\xBA\xF4", 0x00547C}, {"\xBA\xF5", 0x004E4E}, {"\xBA\xF6", 0x005FFD}, {"\xBA\xF7", 0x00745A}, 
{"\xBA\xF8", 0x0058F6}, {"\xBA\xF9", 0x00846B}, {"\xBA\xFA", 0x0080E1}, {"\xBA\xFB", 0x008774}, 
{"\xBA\xFC", 0x0072D0}, {"\xBA\xFD", 0x007CCA}, {"\xBA\xFE", 0x006E56}, {"\xBB\x40", 0x007C43}, 
{"\xBB\x41", 0x007C44}, {"\xBB\x42", 0x007C45}, {"\xBB\x43", 0x007C46}, {"\xBB\x44", 0x007C47}, 
{"\xBB\x45", 0x007C48}, {"\xBB\x46", 0x007C49}, {"\xBB\x47", 0x007C4A}, {"\xBB\x48", 0x007C4B}, 
{"\xBB\x49", 0x007C4C}, {"\xBB\x4A", 0x007C4E}, {"\xBB\x4B", 0x007C4F}, {"\xBB\x4C", 0x007C50}, 
{"\xBB\x4D", 0x007C51}, {"\xBB\x4E", 0x007C52}, {"\xBB\x4F", 0x007C53}, {"\xBB\x50", 0x007C54}, 
{"\xBB\x51", 0x007C55}, {"\xBB\x52", 0x007C56}, {"\xBB\x53", 0x007C57}, {"\xBB\x54", 0x007C58}, 
{"\xBB\x55", 0x007C59}, {"\xBB\x56", 0x007C5A}, {"\xBB\x57", 0x007C5B}, {"\xBB\x58", 0x007C5C}, 
{"\xBB\x59", 0x007C5D}, {"\xBB\x5A", 0x007C5E}, {"\xBB\x5B", 0x007C5F}, {"\xBB\x5C", 0x007C60}, 
{"\xBB\x5D", 0x007C61}, {"\xBB\x5E", 0x007C62}, {"\xBB\x5F", 0x007C63}, {"\xBB\x60", 0x007C64}, 
{"\xBB\x61", 0x007C65}, {"\xBB\x62", 0x007C66}, {"\xBB\x63", 0x007C67}, {"\xBB\x64", 0x007C68}, 
{"\xBB\x65", 0x007C69}, {"\xBB\x66", 0x007C6A}, {"\xBB\x67", 0x007C6B}, {"\xBB\x68", 0x007C6C}, 
{"\xBB\x69", 0x007C6D}, {"\xBB\x6A", 0x007C6E}, {"\xBB\x6B", 0x007C6F}, {"\xBB\x6C", 0x007C70}, 
{"\xBB\x6D", 0x007C71}, {"\xBB\x6E", 0x007C72}, {"\xBB\x6F", 0x007C75}, {"\xBB\x70", 0x007C76}, 
{"\xBB\x71", 0x007C77}, {"\xBB\x72", 0x007C78}, {"\xBB\x73", 0x007C79}, {"\xBB\x74", 0x007C7A}, 
{"\xBB\x75", 0x007C7E}, {"\xBB\x76", 0x007C7F}, {"\xBB\x77", 0x007C80}, {"\xBB\x78", 0x007C81}, 
{"\xBB\x79", 0x007C82}, {"\xBB\x7A", 0x007C83}, {"\xBB\x7B", 0x007C84}, {"\xBB\x7C", 0x007C85}, 
{"\xBB\x7D", 0x007C86}, {"\xBB\x7E", 0x007C87}, {"\xBB\x80", 0x007C88}, {"\xBB\x81", 0x007C8A}, 
{"\xBB\x82", 0x007C8B}, {"\xBB\x83", 0x007C8C}, {"\xBB\x84", 0x007C8D}, {"\xBB\x85", 0x007C8E}, 
{"\xBB\x86", 0x007C8F}, {"\xBB\x87", 0x007C90}, {"\xBB\x88", 0x007C93}, {"\xBB\x89", 0x007C94}, 
{"\xBB\x8A", 0x007C96}, {"\xBB\x8B", 0x007C99}, {"\xBB\x8C", 0x007C9A}, {"\xBB\x8D", 0x007C9B}, 
{"\xBB\x8E", 0x007CA0}, {"\xBB\x8F", 0x007CA1}, {"\xBB\x90", 0x007CA3}, {"\xBB\x91", 0x007CA6}, 
{"\xBB\x92", 0x007CA7}, {"\xBB\x93", 0x007CA8}, {"\xBB\x94", 0x007CA9}, {"\xBB\x95", 0x007CAB}, 
{"\xBB\x96", 0x007CAC}, {"\xBB\x97", 0x007CAD}, {"\xBB\x98", 0x007CAF}, {"\xBB\x99", 0x007CB0}, 
{"\xBB\x9A", 0x007CB4}, {"\xBB\x9B", 0x007CB5}, {"\xBB\x9C", 0x007CB6}, {"\xBB\x9D", 0x007CB7}, 
{"\xBB\x9E", 0x007CB8}, {"\xBB\x9F", 0x007CBA}, {"\xBB\xA0", 0x007CBB}, {"\xBB\xA1", 0x005F27}, 
{"\xBB\xA2", 0x00864E}, {"\xBB\xA3", 0x00552C}, {"\xBB\xA4", 0x0062A4}, {"\xBB\xA5", 0x004E92}, 
{"\xBB\xA6", 0x006CAA}, {"\xBB\xA7", 0x006237}, {"\xBB\xA8", 0x0082B1}, {"\xBB\xA9", 0x0054D7}, 
{"\xBB\xAA", 0x00534E}, {"\xBB\xAB", 0x00733E}, {"\xBB\xAC", 0x006ED1}, {"\xBB\xAD", 0x00753B}, 
{"\xBB\xAE", 0x005212}, {"\xBB\xAF", 0x005316}, {"\xBB\xB0", 0x008BDD}, {"\xBB\xB1", 0x0069D0}, 
{"\xBB\xB2", 0x005F8A}, {"\xBB\xB3", 0x006000}, {"\xBB\xB4", 0x006DEE}, {"\xBB\xB5", 0x00574F}, 

};
 for(size_t i=1; i<sizeof(db2bmp_2b_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_2b_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_2c_gb18030_init()
{
static MB2UData db2bmp_2c_gb18030 [] = { {"", 0}, 
{"\xBB\xB6", 0x006B22}, {"\xBB\xB7", 0x0073AF}, {"\xBB\xB8", 0x006853}, {"\xBB\xB9", 0x008FD8}, 
{"\xBB\xBA", 0x007F13}, {"\xBB\xBB", 0x006362}, {"\xBB\xBC", 0x0060A3}, {"\xBB\xBD", 0x005524}, 
{"\xBB\xBE", 0x0075EA}, {"\xBB\xBF", 0x008C62}, {"\xBB\xC0", 0x007115}, {"\xBB\xC1", 0x006DA3}, 
{"\xBB\xC2", 0x005BA6}, {"\xBB\xC3", 0x005E7B}, {"\xBB\xC4", 0x008352}, {"\xBB\xC5", 0x00614C}, 
{"\xBB\xC6", 0x009EC4}, {"\xBB\xC7", 0x0078FA}, {"\xBB\xC8", 0x008757}, {"\xBB\xC9", 0x007C27}, 
{"\xBB\xCA", 0x007687}, {"\xBB\xCB", 0x0051F0}, {"\xBB\xCC", 0x0060F6}, {"\xBB\xCD", 0x00714C}, 
{"\xBB\xCE", 0x006643}, {"\xBB\xCF", 0x005E4C}, {"\xBB\xD0", 0x00604D}, {"\xBB\xD1", 0x008C0E}, 
{"\xBB\xD2", 0x007070}, {"\xBB\xD3", 0x006325}, {"\xBB\xD4", 0x008F89}, {"\xBB\xD5", 0x005FBD}, 
{"\xBB\xD6", 0x006062}, {"\xBB\xD7", 0x0086D4}, {"\xBB\xD8", 0x0056DE}, {"\xBB\xD9", 0x006BC1}, 
{"\xBB\xDA", 0x006094}, {"\xBB\xDB", 0x006167}, {"\xBB\xDC", 0x005349}, {"\xBB\xDD", 0x0060E0}, 
{"\xBB\xDE", 0x006666}, {"\xBB\xDF", 0x008D3F}, {"\xBB\xE0", 0x0079FD}, {"\xBB\xE1", 0x004F1A}, 
{"\xBB\xE2", 0x0070E9}, {"\xBB\xE3", 0x006C47}, {"\xBB\xE4", 0x008BB3}, {"\xBB\xE5", 0x008BF2}, 
{"\xBB\xE6", 0x007ED8}, {"\xBB\xE7", 0x008364}, {"\xBB\xE8", 0x00660F}, {"\xBB\xE9", 0x005A5A}, 
{"\xBB\xEA", 0x009B42}, {"\xBB\xEB", 0x006D51}, {"\xBB\xEC", 0x006DF7}, {"\xBB\xED", 0x008C41}, 
{"\xBB\xEE", 0x006D3B}, {"\xBB\xEF", 0x004F19}, {"\xBB\xF0", 0x00706B}, {"\xBB\xF1", 0x0083B7}, 
{"\xBB\xF2", 0x006216}, {"\xBB\xF3", 0x0060D1}, {"\xBB\xF4", 0x00970D}, {"\xBB\xF5", 0x008D27}, 
{"\xBB\xF6", 0x007978}, {"\xBB\xF7", 0x0051FB}, {"\xBB\xF8", 0x00573E}, {"\xBB\xF9", 0x0057FA}, 
{"\xBB\xFA", 0x00673A}, {"\xBB\xFB", 0x007578}, {"\xBB\xFC", 0x007A3D}, {"\xBB\xFD", 0x0079EF}, 
{"\xBB\xFE", 0x007B95}, {"\xBC\x40", 0x007CBF}, {"\xBC\x41", 0x007CC0}, {"\xBC\x42", 0x007CC2}, 
{"\xBC\x43", 0x007CC3}, {"\xBC\x44", 0x007CC4}, {"\xBC\x45", 0x007CC6}, {"\xBC\x46", 0x007CC9}, 
{"\xBC\x47", 0x007CCB}, {"\xBC\x48", 0x007CCE}, {"\xBC\x49", 0x007CCF}, {"\xBC\x4A", 0x007CD0}, 
{"\xBC\x4B", 0x007CD1}, {"\xBC\x4C", 0x007CD2}, {"\xBC\x4D", 0x007CD3}, {"\xBC\x4E", 0x007CD4}, 
{"\xBC\x4F", 0x007CD8}, {"\xBC\x50", 0x007CDA}, {"\xBC\x51", 0x007CDB}, {"\xBC\x52", 0x007CDD}, 
{"\xBC\x53", 0x007CDE}, {"\xBC\x54", 0x007CE1}, {"\xBC\x55", 0x007CE2}, {"\xBC\x56", 0x007CE3}, 
{"\xBC\x57", 0x007CE4}, {"\xBC\x58", 0x007CE5}, {"\xBC\x59", 0x007CE6}, {"\xBC\x5A", 0x007CE7}, 
{"\xBC\x5B", 0x007CE9}, {"\xBC\x5C", 0x007CEA}, {"\xBC\x5D", 0x007CEB}, {"\xBC\x5E", 0x007CEC}, 
{"\xBC\x5F", 0x007CED}, {"\xBC\x60", 0x007CEE}, {"\xBC\x61", 0x007CF0}, {"\xBC\x62", 0x007CF1}, 
{"\xBC\x63", 0x007CF2}, {"\xBC\x64", 0x007CF3}, {"\xBC\x65", 0x007CF4}, {"\xBC\x66", 0x007CF5}, 
{"\xBC\x67", 0x007CF6}, {"\xBC\x68", 0x007CF7}, {"\xBC\x69", 0x007CF9}, {"\xBC\x6A", 0x007CFA}, 
{"\xBC\x6B", 0x007CFC}, {"\xBC\x6C", 0x007CFD}, {"\xBC\x6D", 0x007CFE}, {"\xBC\x6E", 0x007CFF}, 
{"\xBC\x6F", 0x007D00}, {"\xBC\x70", 0x007D01}, {"\xBC\x71", 0x007D02}, {"\xBC\x72", 0x007D03}, 
{"\xBC\x73", 0x007D04}, {"\xBC\x74", 0x007D05}, {"\xBC\x75", 0x007D06}, {"\xBC\x76", 0x007D07}, 
{"\xBC\x77", 0x007D08}, {"\xBC\x78", 0x007D09}, {"\xBC\x79", 0x007D0B}, {"\xBC\x7A", 0x007D0C}, 
{"\xBC\x7B", 0x007D0D}, {"\xBC\x7C", 0x007D0E}, {"\xBC\x7D", 0x007D0F}, {"\xBC\x7E", 0x007D10}, 
{"\xBC\x80", 0x007D11}, {"\xBC\x81", 0x007D12}, {"\xBC\x82", 0x007D13}, {"\xBC\x83", 0x007D14}, 
{"\xBC\x84", 0x007D15}, {"\xBC\x85", 0x007D16}, {"\xBC\x86", 0x007D17}, {"\xBC\x87", 0x007D18}, 
{"\xBC\x88", 0x007D19}, {"\xBC\x89", 0x007D1A}, {"\xBC\x8A", 0x007D1B}, {"\xBC\x8B", 0x007D1C}, 
{"\xBC\x8C", 0x007D1D}, {"\xBC\x8D", 0x007D1E}, {"\xBC\x8E", 0x007D1F}, {"\xBC\x8F", 0x007D21}, 
{"\xBC\x90", 0x007D23}, {"\xBC\x91", 0x007D24}, {"\xBC\x92", 0x007D25}, {"\xBC\x93", 0x007D26}, 
{"\xBC\x94", 0x007D28}, {"\xBC\x95", 0x007D29}, {"\xBC\x96", 0x007D2A}, {"\xBC\x97", 0x007D2C}, 
{"\xBC\x98", 0x007D2D}, {"\xBC\x99", 0x007D2E}, {"\xBC\x9A", 0x007D30}, {"\xBC\x9B", 0x007D31}, 
{"\xBC\x9C", 0x007D32}, {"\xBC\x9D", 0x007D33}, {"\xBC\x9E", 0x007D34}, {"\xBC\x9F", 0x007D35}, 
{"\xBC\xA0", 0x007D36}, {"\xBC\xA1", 0x00808C}, {"\xBC\xA2", 0x009965}, {"\xBC\xA3", 0x008FF9}, 
{"\xBC\xA4", 0x006FC0}, {"\xBC\xA5", 0x008BA5}, {"\xBC\xA6", 0x009E21}, {"\xBC\xA7", 0x0059EC}, 
{"\xBC\xA8", 0x007EE9}, {"\xBC\xA9", 0x007F09}, {"\xBC\xAA", 0x005409}, {"\xBC\xAB", 0x006781}, 
{"\xBC\xAC", 0x0068D8}, {"\xBC\xAD", 0x008F91}, {"\xBC\xAE", 0x007C4D}, {"\xBC\xAF", 0x0096C6}, 
{"\xBC\xB0", 0x0053CA}, {"\xBC\xB1", 0x006025}, {"\xBC\xB2", 0x0075BE}, {"\xBC\xB3", 0x006C72}, 
{"\xBC\xB4", 0x005373}, {"\xBC\xB5", 0x005AC9}, {"\xBC\xB6", 0x007EA7}, {"\xBC\xB7", 0x006324}, 
{"\xBC\xB8", 0x0051E0}, {"\xBC\xB9", 0x00810A}, {"\xBC\xBA", 0x005DF1}, {"\xBC\xBB", 0x0084DF}, 
{"\xBC\xBC", 0x006280}, {"\xBC\xBD", 0x005180}, {"\xBC\xBE", 0x005B63}, {"\xBC\xBF", 0x004F0E}, 
{"\xBC\xC0", 0x00796D}, {"\xBC\xC1", 0x005242}, {"\xBC\xC2", 0x0060B8}, {"\xBC\xC3", 0x006D4E}, 
{"\xBC\xC4", 0x005BC4}, {"\xBC\xC5", 0x005BC2}, {"\xBC\xC6", 0x008BA1}, {"\xBC\xC7", 0x008BB0}, 
{"\xBC\xC8", 0x0065E2}, {"\xBC\xC9", 0x005FCC}, {"\xBC\xCA", 0x009645}, {"\xBC\xCB", 0x005993}, 
{"\xBC\xCC", 0x007EE7}, {"\xBC\xCD", 0x007EAA}, {"\xBC\xCE", 0x005609}, {"\xBC\xCF", 0x0067B7}, 
{"\xBC\xD0", 0x005939}, {"\xBC\xD1", 0x004F73}, {"\xBC\xD2", 0x005BB6}, {"\xBC\xD3", 0x0052A0}, 
{"\xBC\xD4", 0x00835A}, {"\xBC\xD5", 0x00988A}, {"\xBC\xD6", 0x008D3E}, {"\xBC\xD7", 0x007532}, 
{"\xBC\xD8", 0x0094BE}, {"\xBC\xD9", 0x005047}, {"\xBC\xDA", 0x007A3C}, {"\xBC\xDB", 0x004EF7}, 
{"\xBC\xDC", 0x0067B6}, {"\xBC\xDD", 0x009A7E}, {"\xBC\xDE", 0x005AC1}, {"\xBC\xDF", 0x006B7C}, 
{"\xBC\xE0", 0x0076D1}, {"\xBC\xE1", 0x00575A}, {"\xBC\xE2", 0x005C16}, {"\xBC\xE3", 0x007B3A}, 
{"\xBC\xE4", 0x0095F4}, {"\xBC\xE5", 0x00714E}, {"\xBC\xE6", 0x00517C}, {"\xBC\xE7", 0x0080A9}, 
{"\xBC\xE8", 0x008270}, {"\xBC\xE9", 0x005978}, {"\xBC\xEA", 0x007F04}, {"\xBC\xEB", 0x008327}, 
{"\xBC\xEC", 0x0068C0}, {"\xBC\xED", 0x0067EC}, {"\xBC\xEE", 0x0078B1}, {"\xBC\xEF", 0x007877}, 
{"\xBC\xF0", 0x0062E3}, {"\xBC\xF1", 0x006361}, {"\xBC\xF2", 0x007B80}, {"\xBC\xF3", 0x004FED}, 
{"\xBC\xF4", 0x00526A}, {"\xBC\xF5", 0x0051CF}, {"\xBC\xF6", 0x008350}, {"\xBC\xF7", 0x0069DB}, 

};
 for(size_t i=1; i<sizeof(db2bmp_2c_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_2c_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_2d_gb18030_init()
{
static MB2UData db2bmp_2d_gb18030 [] = { {"", 0}, 
{"\xBC\xF8", 0x009274}, {"\xBC\xF9", 0x008DF5}, {"\xBC\xFA", 0x008D31}, {"\xBC\xFB", 0x0089C1}, 
{"\xBC\xFC", 0x00952E}, {"\xBC\xFD", 0x007BAD}, {"\xBC\xFE", 0x004EF6}, {"\xBD\x40", 0x007D37}, 
{"\xBD\x41", 0x007D38}, {"\xBD\x42", 0x007D39}, {"\xBD\x43", 0x007D3A}, {"\xBD\x44", 0x007D3B}, 
{"\xBD\x45", 0x007D3C}, {"\xBD\x46", 0x007D3D}, {"\xBD\x47", 0x007D3E}, {"\xBD\x48", 0x007D3F}, 
{"\xBD\x49", 0x007D40}, {"\xBD\x4A", 0x007D41}, {"\xBD\x4B", 0x007D42}, {"\xBD\x4C", 0x007D43}, 
{"\xBD\x4D", 0x007D44}, {"\xBD\x4E", 0x007D45}, {"\xBD\x4F", 0x007D46}, {"\xBD\x50", 0x007D47}, 
{"\xBD\x51", 0x007D48}, {"\xBD\x52", 0x007D49}, {"\xBD\x53", 0x007D4A}, {"\xBD\x54", 0x007D4B}, 
{"\xBD\x55", 0x007D4C}, {"\xBD\x56", 0x007D4D}, {"\xBD\x57", 0x007D4E}, {"\xBD\x58", 0x007D4F}, 
{"\xBD\x59", 0x007D50}, {"\xBD\x5A", 0x007D51}, {"\xBD\x5B", 0x007D52}, {"\xBD\x5C", 0x007D53}, 
{"\xBD\x5D", 0x007D54}, {"\xBD\x5E", 0x007D55}, {"\xBD\x5F", 0x007D56}, {"\xBD\x60", 0x007D57}, 
{"\xBD\x61", 0x007D58}, {"\xBD\x62", 0x007D59}, {"\xBD\x63", 0x007D5A}, {"\xBD\x64", 0x007D5B}, 
{"\xBD\x65", 0x007D5C}, {"\xBD\x66", 0x007D5D}, {"\xBD\x67", 0x007D5E}, {"\xBD\x68", 0x007D5F}, 
{"\xBD\x69", 0x007D60}, {"\xBD\x6A", 0x007D61}, {"\xBD\x6B", 0x007D62}, {"\xBD\x6C", 0x007D63}, 
{"\xBD\x6D", 0x007D64}, {"\xBD\x6E", 0x007D65}, {"\xBD\x6F", 0x007D66}, {"\xBD\x70", 0x007D67}, 
{"\xBD\x71", 0x007D68}, {"\xBD\x72", 0x007D69}, {"\xBD\x73", 0x007D6A}, {"\xBD\x74", 0x007D6B}, 
{"\xBD\x75", 0x007D6C}, {"\xBD\x76", 0x007D6D}, {"\xBD\x77", 0x007D6F}, {"\xBD\x78", 0x007D70}, 
{"\xBD\x79", 0x007D71}, {"\xBD\x7A", 0x007D72}, {"\xBD\x7B", 0x007D73}, {"\xBD\x7C", 0x007D74}, 
{"\xBD\x7D", 0x007D75}, {"\xBD\x7E", 0x007D76}, {"\xBD\x80", 0x007D78}, {"\xBD\x81", 0x007D79}, 
{"\xBD\x82", 0x007D7A}, {"\xBD\x83", 0x007D7B}, {"\xBD\x84", 0x007D7C}, {"\xBD\x85", 0x007D7D}, 
{"\xBD\x86", 0x007D7E}, {"\xBD\x87", 0x007D7F}, {"\xBD\x88", 0x007D80}, {"\xBD\x89", 0x007D81}, 
{"\xBD\x8A", 0x007D82}, {"\xBD\x8B", 0x007D83}, {"\xBD\x8C", 0x007D84}, {"\xBD\x8D", 0x007D85}, 
{"\xBD\x8E", 0x007D86}, {"\xBD\x8F", 0x007D87}, {"\xBD\x90", 0x007D88}, {"\xBD\x91", 0x007D89}, 
{"\xBD\x92", 0x007D8A}, {"\xBD\x93", 0x007D8B}, {"\xBD\x94", 0x007D8C}, {"\xBD\x95", 0x007D8D}, 
{"\xBD\x96", 0x007D8E}, {"\xBD\x97", 0x007D8F}, {"\xBD\x98", 0x007D90}, {"\xBD\x99", 0x007D91}, 
{"\xBD\x9A", 0x007D92}, {"\xBD\x9B", 0x007D93}, {"\xBD\x9C", 0x007D94}, {"\xBD\x9D", 0x007D95}, 
{"\xBD\x9E", 0x007D96}, {"\xBD\x9F", 0x007D97}, {"\xBD\xA0", 0x007D98}, {"\xBD\xA1", 0x005065}, 
{"\xBD\xA2", 0x008230}, {"\xBD\xA3", 0x005251}, {"\xBD\xA4", 0x00996F}, {"\xBD\xA5", 0x006E10}, 
{"\xBD\xA6", 0x006E85}, {"\xBD\xA7", 0x006DA7}, {"\xBD\xA8", 0x005EFA}, {"\xBD\xA9", 0x0050F5}, 
{"\xBD\xAA", 0x0059DC}, {"\xBD\xAB", 0x005C06}, {"\xBD\xAC", 0x006D46}, {"\xBD\xAD", 0x006C5F}, 
{"\xBD\xAE", 0x007586}, {"\xBD\xAF", 0x00848B}, {"\xBD\xB0", 0x006868}, {"\xBD\xB1", 0x005956}, 
{"\xBD\xB2", 0x008BB2}, {"\xBD\xB3", 0x005320}, {"\xBD\xB4", 0x009171}, {"\xBD\xB5", 0x00964D}, 
{"\xBD\xB6", 0x008549}, {"\xBD\xB7", 0x006912}, {"\xBD\xB8", 0x007901}, {"\xBD\xB9", 0x007126}, 
{"\xBD\xBA", 0x0080F6}, {"\xBD\xBB", 0x004EA4}, {"\xBD\xBC", 0x0090CA}, {"\xBD\xBD", 0x006D47}, 
{"\xBD\xBE", 0x009A84}, {"\xBD\xBF", 0x005A07}, {"\xBD\xC0", 0x0056BC}, {"\xBD\xC1", 0x006405}, 
{"\xBD\xC2", 0x0094F0}, {"\xBD\xC3", 0x0077EB}, {"\xBD\xC4", 0x004FA5}, {"\xBD\xC5", 0x00811A}, 
{"\xBD\xC6", 0x0072E1}, {"\xBD\xC7", 0x0089D2}, {"\xBD\xC8", 0x00997A}, {"\xBD\xC9", 0x007F34}, 
{"\xBD\xCA", 0x007EDE}, {"\xBD\xCB", 0x00527F}, {"\xBD\xCC", 0x006559}, {"\xBD\xCD", 0x009175}, 
{"\xBD\xCE", 0x008F7F}, {"\xBD\xCF", 0x008F83}, {"\xBD\xD0", 0x0053EB}, {"\xBD\xD1", 0x007A96}, 
{"\xBD\xD2", 0x0063ED}, {"\xBD\xD3", 0x0063A5}, {"\xBD\xD4", 0x007686}, {"\xBD\xD5", 0x0079F8}, 
{"\xBD\xD6", 0x008857}, {"\xBD\xD7", 0x009636}, {"\xBD\xD8", 0x00622A}, {"\xBD\xD9", 0x0052AB}, 
{"\xBD\xDA", 0x008282}, {"\xBD\xDB", 0x006854}, {"\xBD\xDC", 0x006770}, {"\xBD\xDD", 0x006377}, 
{"\xBD\xDE", 0x00776B}, {"\xBD\xDF", 0x007AED}, {"\xBD\xE0", 0x006D01}, {"\xBD\xE1", 0x007ED3}, 
{"\xBD\xE2", 0x0089E3}, {"\xBD\xE3", 0x0059D0}, {"\xBD\xE4", 0x006212}, {"\xBD\xE5", 0x0085C9}, 
{"\xBD\xE6", 0x0082A5}, {"\xBD\xE7", 0x00754C}, {"\xBD\xE8", 0x00501F}, {"\xBD\xE9", 0x004ECB}, 
{"\xBD\xEA", 0x0075A5}, {"\xBD\xEB", 0x008BEB}, {"\xBD\xEC", 0x005C4A}, {"\xBD\xED", 0x005DFE}, 
{"\xBD\xEE", 0x007B4B}, {"\xBD\xEF", 0x0065A4}, {"\xBD\xF0", 0x0091D1}, {"\xBD\xF1", 0x004ECA}, 
{"\xBD\xF2", 0x006D25}, {"\xBD\xF3", 0x00895F}, {"\xBD\xF4", 0x007D27}, {"\xBD\xF5", 0x009526}, 
{"\xBD\xF6", 0x004EC5}, {"\xBD\xF7", 0x008C28}, {"\xBD\xF8", 0x008FDB}, {"\xBD\xF9", 0x009773}, 
{"\xBD\xFA", 0x00664B}, {"\xBD\xFB", 0x007981}, {"\xBD\xFC", 0x008FD1}, {"\xBD\xFD", 0x0070EC}, 
{"\xBD\xFE", 0x006D78}, {"\xBE\x40", 0x007D99}, {"\xBE\x41", 0x007D9A}, {"\xBE\x42", 0x007D9B}, 
{"\xBE\x43", 0x007D9C}, {"\xBE\x44", 0x007D9D}, {"\xBE\x45", 0x007D9E}, {"\xBE\x46", 0x007D9F}, 
{"\xBE\x47", 0x007DA0}, {"\xBE\x48", 0x007DA1}, {"\xBE\x49", 0x007DA2}, {"\xBE\x4A", 0x007DA3}, 
{"\xBE\x4B", 0x007DA4}, {"\xBE\x4C", 0x007DA5}, {"\xBE\x4D", 0x007DA7}, {"\xBE\x4E", 0x007DA8}, 
{"\xBE\x4F", 0x007DA9}, {"\xBE\x50", 0x007DAA}, {"\xBE\x51", 0x007DAB}, {"\xBE\x52", 0x007DAC}, 
{"\xBE\x53", 0x007DAD}, {"\xBE\x54", 0x007DAF}, {"\xBE\x55", 0x007DB0}, {"\xBE\x56", 0x007DB1}, 
{"\xBE\x57", 0x007DB2}, {"\xBE\x58", 0x007DB3}, {"\xBE\x59", 0x007DB4}, {"\xBE\x5A", 0x007DB5}, 
{"\xBE\x5B", 0x007DB6}, {"\xBE\x5C", 0x007DB7}, {"\xBE\x5D", 0x007DB8}, {"\xBE\x5E", 0x007DB9}, 
{"\xBE\x5F", 0x007DBA}, {"\xBE\x60", 0x007DBB}, {"\xBE\x61", 0x007DBC}, {"\xBE\x62", 0x007DBD}, 
{"\xBE\x63", 0x007DBE}, {"\xBE\x64", 0x007DBF}, {"\xBE\x65", 0x007DC0}, {"\xBE\x66", 0x007DC1}, 
{"\xBE\x67", 0x007DC2}, {"\xBE\x68", 0x007DC3}, {"\xBE\x69", 0x007DC4}, {"\xBE\x6A", 0x007DC5}, 
{"\xBE\x6B", 0x007DC6}, {"\xBE\x6C", 0x007DC7}, {"\xBE\x6D", 0x007DC8}, {"\xBE\x6E", 0x007DC9}, 
{"\xBE\x6F", 0x007DCA}, {"\xBE\x70", 0x007DCB}, {"\xBE\x71", 0x007DCC}, {"\xBE\x72", 0x007DCD}, 
{"\xBE\x73", 0x007DCE}, {"\xBE\x74", 0x007DCF}, {"\xBE\x75", 0x007DD0}, {"\xBE\x76", 0x007DD1}, 
{"\xBE\x77", 0x007DD2}, {"\xBE\x78", 0x007DD3}, {"\xBE\x79", 0x007DD4}, {"\xBE\x7A", 0x007DD5}, 

};
 for(size_t i=1; i<sizeof(db2bmp_2d_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_2d_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_2e_gb18030_init()
{
static MB2UData db2bmp_2e_gb18030 [] = { {"", 0}, 
{"\xBE\x7B", 0x007DD6}, {"\xBE\x7C", 0x007DD7}, {"\xBE\x7D", 0x007DD8}, {"\xBE\x7E", 0x007DD9}, 
{"\xBE\x80", 0x007DDA}, {"\xBE\x81", 0x007DDB}, {"\xBE\x82", 0x007DDC}, {"\xBE\x83", 0x007DDD}, 
{"\xBE\x84", 0x007DDE}, {"\xBE\x85", 0x007DDF}, {"\xBE\x86", 0x007DE0}, {"\xBE\x87", 0x007DE1}, 
{"\xBE\x88", 0x007DE2}, {"\xBE\x89", 0x007DE3}, {"\xBE\x8A", 0x007DE4}, {"\xBE\x8B", 0x007DE5}, 
{"\xBE\x8C", 0x007DE6}, {"\xBE\x8D", 0x007DE7}, {"\xBE\x8E", 0x007DE8}, {"\xBE\x8F", 0x007DE9}, 
{"\xBE\x90", 0x007DEA}, {"\xBE\x91", 0x007DEB}, {"\xBE\x92", 0x007DEC}, {"\xBE\x93", 0x007DED}, 
{"\xBE\x94", 0x007DEE}, {"\xBE\x95", 0x007DEF}, {"\xBE\x96", 0x007DF0}, {"\xBE\x97", 0x007DF1}, 
{"\xBE\x98", 0x007DF2}, {"\xBE\x99", 0x007DF3}, {"\xBE\x9A", 0x007DF4}, {"\xBE\x9B", 0x007DF5}, 
{"\xBE\x9C", 0x007DF6}, {"\xBE\x9D", 0x007DF7}, {"\xBE\x9E", 0x007DF8}, {"\xBE\x9F", 0x007DF9}, 
{"\xBE\xA0", 0x007DFA}, {"\xBE\xA1", 0x005C3D}, {"\xBE\xA2", 0x0052B2}, {"\xBE\xA3", 0x008346}, 
{"\xBE\xA4", 0x005162}, {"\xBE\xA5", 0x00830E}, {"\xBE\xA6", 0x00775B}, {"\xBE\xA7", 0x006676}, 
{"\xBE\xA8", 0x009CB8}, {"\xBE\xA9", 0x004EAC}, {"\xBE\xAA", 0x0060CA}, {"\xBE\xAB", 0x007CBE}, 
{"\xBE\xAC", 0x007CB3}, {"\xBE\xAD", 0x007ECF}, {"\xBE\xAE", 0x004E95}, {"\xBE\xAF", 0x008B66}, 
{"\xBE\xB0", 0x00666F}, {"\xBE\xB1", 0x009888}, {"\xBE\xB2", 0x009759}, {"\xBE\xB3", 0x005883}, 
{"\xBE\xB4", 0x00656C}, {"\xBE\xB5", 0x00955C}, {"\xBE\xB6", 0x005F84}, {"\xBE\xB7", 0x0075C9}, 
{"\xBE\xB8", 0x009756}, {"\xBE\xB9", 0x007ADF}, {"\xBE\xBA", 0x007ADE}, {"\xBE\xBB", 0x0051C0}, 
{"\xBE\xBC", 0x0070AF}, {"\xBE\xBD", 0x007A98}, {"\xBE\xBE", 0x0063EA}, {"\xBE\xBF", 0x007A76}, 
{"\xBE\xC0", 0x007EA0}, {"\xBE\xC1", 0x007396}, {"\xBE\xC2", 0x0097ED}, {"\xBE\xC3", 0x004E45}, 
{"\xBE\xC4", 0x007078}, {"\xBE\xC5", 0x004E5D}, {"\xBE\xC6", 0x009152}, {"\xBE\xC7", 0x0053A9}, 
{"\xBE\xC8", 0x006551}, {"\xBE\xC9", 0x0065E7}, {"\xBE\xCA", 0x0081FC}, {"\xBE\xCB", 0x008205}, 
{"\xBE\xCC", 0x00548E}, {"\xBE\xCD", 0x005C31}, {"\xBE\xCE", 0x00759A}, {"\xBE\xCF", 0x0097A0}, 
{"\xBE\xD0", 0x0062D8}, {"\xBE\xD1", 0x0072D9}, {"\xBE\xD2", 0x0075BD}, {"\xBE\xD3", 0x005C45}, 
{"\xBE\xD4", 0x009A79}, {"\xBE\xD5", 0x0083CA}, {"\xBE\xD6", 0x005C40}, {"\xBE\xD7", 0x005480}, 
{"\xBE\xD8", 0x0077E9}, {"\xBE\xD9", 0x004E3E}, {"\xBE\xDA", 0x006CAE}, {"\xBE\xDB", 0x00805A}, 
{"\xBE\xDC", 0x0062D2}, {"\xBE\xDD", 0x00636E}, {"\xBE\xDE", 0x005DE8}, {"\xBE\xDF", 0x005177}, 
{"\xBE\xE0", 0x008DDD}, {"\xBE\xE1", 0x008E1E}, {"\xBE\xE2", 0x00952F}, {"\xBE\xE3", 0x004FF1}, 
{"\xBE\xE4", 0x0053E5}, {"\xBE\xE5", 0x0060E7}, {"\xBE\xE6", 0x0070AC}, {"\xBE\xE7", 0x005267}, 
{"\xBE\xE8", 0x006350}, {"\xBE\xE9", 0x009E43}, {"\xBE\xEA", 0x005A1F}, {"\xBE\xEB", 0x005026}, 
{"\xBE\xEC", 0x007737}, {"\xBE\xED", 0x005377}, {"\xBE\xEE", 0x007EE2}, {"\xBE\xEF", 0x006485}, 
{"\xBE\xF0", 0x00652B}, {"\xBE\xF1", 0x006289}, {"\xBE\xF2", 0x006398}, {"\xBE\xF3", 0x005014}, 
{"\xBE\xF4", 0x007235}, {"\xBE\xF5", 0x0089C9}, {"\xBE\xF6", 0x0051B3}, {"\xBE\xF7", 0x008BC0}, 
{"\xBE\xF8", 0x007EDD}, {"\xBE\xF9", 0x005747}, {"\xBE\xFA", 0x0083CC}, {"\xBE\xFB", 0x0094A7}, 
{"\xBE\xFC", 0x00519B}, {"\xBE\xFD", 0x00541B}, {"\xBE\xFE", 0x005CFB}, {"\xBF\x40", 0x007DFB}, 
{"\xBF\x41", 0x007DFC}, {"\xBF\x42", 0x007DFD}, {"\xBF\x43", 0x007DFE}, {"\xBF\x44", 0x007DFF}, 
{"\xBF\x45", 0x007E00}, {"\xBF\x46", 0x007E01}, {"\xBF\x47", 0x007E02}, {"\xBF\x48", 0x007E03}, 
{"\xBF\x49", 0x007E04}, {"\xBF\x4A", 0x007E05}, {"\xBF\x4B", 0x007E06}, {"\xBF\x4C", 0x007E07}, 
{"\xBF\x4D", 0x007E08}, {"\xBF\x4E", 0x007E09}, {"\xBF\x4F", 0x007E0A}, {"\xBF\x50", 0x007E0B}, 
{"\xBF\x51", 0x007E0C}, {"\xBF\x52", 0x007E0D}, {"\xBF\x53", 0x007E0E}, {"\xBF\x54", 0x007E0F}, 
{"\xBF\x55", 0x007E10}, {"\xBF\x56", 0x007E11}, {"\xBF\x57", 0x007E12}, {"\xBF\x58", 0x007E13}, 
{"\xBF\x59", 0x007E14}, {"\xBF\x5A", 0x007E15}, {"\xBF\x5B", 0x007E16}, {"\xBF\x5C", 0x007E17}, 
{"\xBF\x5D", 0x007E18}, {"\xBF\x5E", 0x007E19}, {"\xBF\x5F", 0x007E1A}, {"\xBF\x60", 0x007E1B}, 
{"\xBF\x61", 0x007E1C}, {"\xBF\x62", 0x007E1D}, {"\xBF\x63", 0x007E1E}, {"\xBF\x64", 0x007E1F}, 
{"\xBF\x65", 0x007E20}, {"\xBF\x66", 0x007E21}, {"\xBF\x67", 0x007E22}, {"\xBF\x68", 0x007E23}, 
{"\xBF\x69", 0x007E24}, {"\xBF\x6A", 0x007E25}, {"\xBF\x6B", 0x007E26}, {"\xBF\x6C", 0x007E27}, 
{"\xBF\x6D", 0x007E28}, {"\xBF\x6E", 0x007E29}, {"\xBF\x6F", 0x007E2A}, {"\xBF\x70", 0x007E2B}, 
{"\xBF\x71", 0x007E2C}, {"\xBF\x72", 0x007E2D}, {"\xBF\x73", 0x007E2E}, {"\xBF\x74", 0x007E2F}, 
{"\xBF\x75", 0x007E30}, {"\xBF\x76", 0x007E31}, {"\xBF\x77", 0x007E32}, {"\xBF\x78", 0x007E33}, 
{"\xBF\x79", 0x007E34}, {"\xBF\x7A", 0x007E35}, {"\xBF\x7B", 0x007E36}, {"\xBF\x7C", 0x007E37}, 
{"\xBF\x7D", 0x007E38}, {"\xBF\x7E", 0x007E39}, {"\xBF\x80", 0x007E3A}, {"\xBF\x81", 0x007E3C}, 
{"\xBF\x82", 0x007E3D}, {"\xBF\x83", 0x007E3E}, {"\xBF\x84", 0x007E3F}, {"\xBF\x85", 0x007E40}, 
{"\xBF\x86", 0x007E42}, {"\xBF\x87", 0x007E43}, {"\xBF\x88", 0x007E44}, {"\xBF\x89", 0x007E45}, 
{"\xBF\x8A", 0x007E46}, {"\xBF\x8B", 0x007E48}, {"\xBF\x8C", 0x007E49}, {"\xBF\x8D", 0x007E4A}, 
{"\xBF\x8E", 0x007E4B}, {"\xBF\x8F", 0x007E4C}, {"\xBF\x90", 0x007E4D}, {"\xBF\x91", 0x007E4E}, 
{"\xBF\x92", 0x007E4F}, {"\xBF\x93", 0x007E50}, {"\xBF\x94", 0x007E51}, {"\xBF\x95", 0x007E52}, 
{"\xBF\x96", 0x007E53}, {"\xBF\x97", 0x007E54}, {"\xBF\x98", 0x007E55}, {"\xBF\x99", 0x007E56}, 
{"\xBF\x9A", 0x007E57}, {"\xBF\x9B", 0x007E58}, {"\xBF\x9C", 0x007E59}, {"\xBF\x9D", 0x007E5A}, 
{"\xBF\x9E", 0x007E5B}, {"\xBF\x9F", 0x007E5C}, {"\xBF\xA0", 0x007E5D}, {"\xBF\xA1", 0x004FCA}, 
{"\xBF\xA2", 0x007AE3}, {"\xBF\xA3", 0x006D5A}, {"\xBF\xA4", 0x0090E1}, {"\xBF\xA5", 0x009A8F}, 
{"\xBF\xA6", 0x005580}, {"\xBF\xA7", 0x005496}, {"\xBF\xA8", 0x005361}, {"\xBF\xA9", 0x0054AF}, 
{"\xBF\xAA", 0x005F00}, {"\xBF\xAB", 0x0063E9}, {"\xBF\xAC", 0x006977}, {"\xBF\xAD", 0x0051EF}, 
{"\xBF\xAE", 0x006168}, {"\xBF\xAF", 0x00520A}, {"\xBF\xB0", 0x00582A}, {"\xBF\xB1", 0x0052D8}, 
{"\xBF\xB2", 0x00574E}, {"\xBF\xB3", 0x00780D}, {"\xBF\xB4", 0x00770B}, {"\xBF\xB5", 0x005EB7}, 
{"\xBF\xB6", 0x006177}, {"\xBF\xB7", 0x007CE0}, {"\xBF\xB8", 0x00625B}, {"\xBF\xB9", 0x006297}, 
{"\xBF\xBA", 0x004EA2}, {"\xBF\xBB", 0x007095}, {"\xBF\xBC", 0x008003}, {"\xBF\xBD", 0x0062F7}, 

};
 for(size_t i=1; i<sizeof(db2bmp_2e_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_2e_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_2f_gb18030_init()
{
static MB2UData db2bmp_2f_gb18030 [] = { {"", 0}, 
{"\xBF\xBE", 0x0070E4}, {"\xBF\xBF", 0x009760}, {"\xBF\xC0", 0x005777}, {"\xBF\xC1", 0x0082DB}, 
{"\xBF\xC2", 0x0067EF}, {"\xBF\xC3", 0x0068F5}, {"\xBF\xC4", 0x0078D5}, {"\xBF\xC5", 0x009897}, 
{"\xBF\xC6", 0x0079D1}, {"\xBF\xC7", 0x0058F3}, {"\xBF\xC8", 0x0054B3}, {"\xBF\xC9", 0x0053EF}, 
{"\xBF\xCA", 0x006E34}, {"\xBF\xCB", 0x00514B}, {"\xBF\xCC", 0x00523B}, {"\xBF\xCD", 0x005BA2}, 
{"\xBF\xCE", 0x008BFE}, {"\xBF\xCF", 0x0080AF}, {"\xBF\xD0", 0x005543}, {"\xBF\xD1", 0x0057A6}, 
{"\xBF\xD2", 0x006073}, {"\xBF\xD3", 0x005751}, {"\xBF\xD4", 0x00542D}, {"\xBF\xD5", 0x007A7A}, 
{"\xBF\xD6", 0x006050}, {"\xBF\xD7", 0x005B54}, {"\xBF\xD8", 0x0063A7}, {"\xBF\xD9", 0x0062A0}, 
{"\xBF\xDA", 0x0053E3}, {"\xBF\xDB", 0x006263}, {"\xBF\xDC", 0x005BC7}, {"\xBF\xDD", 0x0067AF}, 
{"\xBF\xDE", 0x0054ED}, {"\xBF\xDF", 0x007A9F}, {"\xBF\xE0", 0x0082E6}, {"\xBF\xE1", 0x009177}, 
{"\xBF\xE2", 0x005E93}, {"\xBF\xE3", 0x0088E4}, {"\xBF\xE4", 0x005938}, {"\xBF\xE5", 0x0057AE}, 
{"\xBF\xE6", 0x00630E}, {"\xBF\xE7", 0x008DE8}, {"\xBF\xE8", 0x0080EF}, {"\xBF\xE9", 0x005757}, 
{"\xBF\xEA", 0x007B77}, {"\xBF\xEB", 0x004FA9}, {"\xBF\xEC", 0x005FEB}, {"\xBF\xED", 0x005BBD}, 
{"\xBF\xEE", 0x006B3E}, {"\xBF\xEF", 0x005321}, {"\xBF\xF0", 0x007B50}, {"\xBF\xF1", 0x0072C2}, 
{"\xBF\xF2", 0x006846}, {"\xBF\xF3", 0x0077FF}, {"\xBF\xF4", 0x007736}, {"\xBF\xF5", 0x0065F7}, 
{"\xBF\xF6", 0x0051B5}, {"\xBF\xF7", 0x004E8F}, {"\xBF\xF8", 0x0076D4}, {"\xBF\xF9", 0x005CBF}, 
{"\xBF\xFA", 0x007AA5}, {"\xBF\xFB", 0x008475}, {"\xBF\xFC", 0x00594E}, {"\xBF\xFD", 0x009B41}, 
{"\xBF\xFE", 0x005080}, {"\xC0\x40", 0x007E5E}, {"\xC0\x41", 0x007E5F}, {"\xC0\x42", 0x007E60}, 
{"\xC0\x43", 0x007E61}, {"\xC0\x44", 0x007E62}, {"\xC0\x45", 0x007E63}, {"\xC0\x46", 0x007E64}, 
{"\xC0\x47", 0x007E65}, {"\xC0\x48", 0x007E66}, {"\xC0\x49", 0x007E67}, {"\xC0\x4A", 0x007E68}, 
{"\xC0\x4B", 0x007E69}, {"\xC0\x4C", 0x007E6A}, {"\xC0\x4D", 0x007E6B}, {"\xC0\x4E", 0x007E6C}, 
{"\xC0\x4F", 0x007E6D}, {"\xC0\x50", 0x007E6E}, {"\xC0\x51", 0x007E6F}, {"\xC0\x52", 0x007E70}, 
{"\xC0\x53", 0x007E71}, {"\xC0\x54", 0x007E72}, {"\xC0\x55", 0x007E73}, {"\xC0\x56", 0x007E74}, 
{"\xC0\x57", 0x007E75}, {"\xC0\x58", 0x007E76}, {"\xC0\x59", 0x007E77}, {"\xC0\x5A", 0x007E78}, 
{"\xC0\x5B", 0x007E79}, {"\xC0\x5C", 0x007E7A}, {"\xC0\x5D", 0x007E7B}, {"\xC0\x5E", 0x007E7C}, 
{"\xC0\x5F", 0x007E7D}, {"\xC0\x60", 0x007E7E}, {"\xC0\x61", 0x007E7F}, {"\xC0\x62", 0x007E80}, 
{"\xC0\x63", 0x007E81}, {"\xC0\x64", 0x007E83}, {"\xC0\x65", 0x007E84}, {"\xC0\x66", 0x007E85}, 
{"\xC0\x67", 0x007E86}, {"\xC0\x68", 0x007E87}, {"\xC0\x69", 0x007E88}, {"\xC0\x6A", 0x007E89}, 
{"\xC0\x6B", 0x007E8A}, {"\xC0\x6C", 0x007E8B}, {"\xC0\x6D", 0x007E8C}, {"\xC0\x6E", 0x007E8D}, 
{"\xC0\x6F", 0x007E8E}, {"\xC0\x70", 0x007E8F}, {"\xC0\x71", 0x007E90}, {"\xC0\x72", 0x007E91}, 
{"\xC0\x73", 0x007E92}, {"\xC0\x74", 0x007E93}, {"\xC0\x75", 0x007E94}, {"\xC0\x76", 0x007E95}, 
{"\xC0\x77", 0x007E96}, {"\xC0\x78", 0x007E97}, {"\xC0\x79", 0x007E98}, {"\xC0\x7A", 0x007E99}, 
{"\xC0\x7B", 0x007E9A}, {"\xC0\x7C", 0x007E9C}, {"\xC0\x7D", 0x007E9D}, {"\xC0\x7E", 0x007E9E}, 
{"\xC0\x80", 0x007EAE}, {"\xC0\x81", 0x007EB4}, {"\xC0\x82", 0x007EBB}, {"\xC0\x83", 0x007EBC}, 
{"\xC0\x84", 0x007ED6}, {"\xC0\x85", 0x007EE4}, {"\xC0\x86", 0x007EEC}, {"\xC0\x87", 0x007EF9}, 
{"\xC0\x88", 0x007F0A}, {"\xC0\x89", 0x007F10}, {"\xC0\x8A", 0x007F1E}, {"\xC0\x8B", 0x007F37}, 
{"\xC0\x8C", 0x007F39}, {"\xC0\x8D", 0x007F3B}, {"\xC0\x8E", 0x007F3C}, {"\xC0\x8F", 0x007F3D}, 
{"\xC0\x90", 0x007F3E}, {"\xC0\x91", 0x007F3F}, {"\xC0\x92", 0x007F40}, {"\xC0\x93", 0x007F41}, 
{"\xC0\x94", 0x007F43}, {"\xC0\x95", 0x007F46}, {"\xC0\x96", 0x007F47}, {"\xC0\x97", 0x007F48}, 
{"\xC0\x98", 0x007F49}, {"\xC0\x99", 0x007F4A}, {"\xC0\x9A", 0x007F4B}, {"\xC0\x9B", 0x007F4C}, 
{"\xC0\x9C", 0x007F4D}, {"\xC0\x9D", 0x007F4E}, {"\xC0\x9E", 0x007F4F}, {"\xC0\x9F", 0x007F52}, 
{"\xC0\xA0", 0x007F53}, {"\xC0\xA1", 0x009988}, {"\xC0\xA2", 0x006127}, {"\xC0\xA3", 0x006E83}, 
{"\xC0\xA4", 0x005764}, {"\xC0\xA5", 0x006606}, {"\xC0\xA6", 0x006346}, {"\xC0\xA7", 0x0056F0}, 
{"\xC0\xA8", 0x0062EC}, {"\xC0\xA9", 0x006269}, {"\xC0\xAA", 0x005ED3}, {"\xC0\xAB", 0x009614}, 
{"\xC0\xAC", 0x005783}, {"\xC0\xAD", 0x0062C9}, {"\xC0\xAE", 0x005587}, {"\xC0\xAF", 0x008721}, 
{"\xC0\xB0", 0x00814A}, {"\xC0\xB1", 0x008FA3}, {"\xC0\xB2", 0x005566}, {"\xC0\xB3", 0x0083B1}, 
{"\xC0\xB4", 0x006765}, {"\xC0\xB5", 0x008D56}, {"\xC0\xB6", 0x0084DD}, {"\xC0\xB7", 0x005A6A}, 
{"\xC0\xB8", 0x00680F}, {"\xC0\xB9", 0x0062E6}, {"\xC0\xBA", 0x007BEE}, {"\xC0\xBB", 0x009611}, 
{"\xC0\xBC", 0x005170}, {"\xC0\xBD", 0x006F9C}, {"\xC0\xBE", 0x008C30}, {"\xC0\xBF", 0x0063FD}, 
{"\xC0\xC0", 0x0089C8}, {"\xC0\xC1", 0x0061D2}, {"\xC0\xC2", 0x007F06}, {"\xC0\xC3", 0x0070C2}, 
{"\xC0\xC4", 0x006EE5}, {"\xC0\xC5", 0x007405}, {"\xC0\xC6", 0x006994}, {"\xC0\xC7", 0x0072FC}, 
{"\xC0\xC8", 0x005ECA}, {"\xC0\xC9", 0x0090CE}, {"\xC0\xCA", 0x006717}, {"\xC0\xCB", 0x006D6A}, 
{"\xC0\xCC", 0x00635E}, {"\xC0\xCD", 0x0052B3}, {"\xC0\xCE", 0x007262}, {"\xC0\xCF", 0x008001}, 
{"\xC0\xD0", 0x004F6C}, {"\xC0\xD1", 0x0059E5}, {"\xC0\xD2", 0x00916A}, {"\xC0\xD3", 0x0070D9}, 
{"\xC0\xD4", 0x006D9D}, {"\xC0\xD5", 0x0052D2}, {"\xC0\xD6", 0x004E50}, {"\xC0\xD7", 0x0096F7}, 
{"\xC0\xD8", 0x00956D}, {"\xC0\xD9", 0x00857E}, {"\xC0\xDA", 0x0078CA}, {"\xC0\xDB", 0x007D2F}, 
{"\xC0\xDC", 0x005121}, {"\xC0\xDD", 0x005792}, {"\xC0\xDE", 0x0064C2}, {"\xC0\xDF", 0x00808B}, 
{"\xC0\xE0", 0x007C7B}, {"\xC0\xE1", 0x006CEA}, {"\xC0\xE2", 0x0068F1}, {"\xC0\xE3", 0x00695E}, 
{"\xC0\xE4", 0x0051B7}, {"\xC0\xE5", 0x005398}, {"\xC0\xE6", 0x0068A8}, {"\xC0\xE7", 0x007281}, 
{"\xC0\xE8", 0x009ECE}, {"\xC0\xE9", 0x007BF1}, {"\xC0\xEA", 0x0072F8}, {"\xC0\xEB", 0x0079BB}, 
{"\xC0\xEC", 0x006F13}, {"\xC0\xED", 0x007406}, {"\xC0\xEE", 0x00674E}, {"\xC0\xEF", 0x0091CC}, 
{"\xC0\xF0", 0x009CA4}, {"\xC0\xF1", 0x00793C}, {"\xC0\xF2", 0x008389}, {"\xC0\xF3", 0x008354}, 
{"\xC0\xF4", 0x00540F}, {"\xC0\xF5", 0x006817}, {"\xC0\xF6", 0x004E3D}, {"\xC0\xF7", 0x005389}, 
{"\xC0\xF8", 0x0052B1}, {"\xC0\xF9", 0x00783E}, {"\xC0\xFA", 0x005386}, {"\xC0\xFB", 0x005229}, 
{"\xC0\xFC", 0x005088}, {"\xC0\xFD", 0x004F8B}, {"\xC0\xFE", 0x004FD0}, {"\xC1\x40", 0x007F56}, 

};
 for(size_t i=1; i<sizeof(db2bmp_2f_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_2f_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_30_gb18030_init()
{
static MB2UData db2bmp_30_gb18030 [] = { {"", 0}, 
{"\xC1\x41", 0x007F59}, {"\xC1\x42", 0x007F5B}, {"\xC1\x43", 0x007F5C}, {"\xC1\x44", 0x007F5D}, 
{"\xC1\x45", 0x007F5E}, {"\xC1\x46", 0x007F60}, {"\xC1\x47", 0x007F63}, {"\xC1\x48", 0x007F64}, 
{"\xC1\x49", 0x007F65}, {"\xC1\x4A", 0x007F66}, {"\xC1\x4B", 0x007F67}, {"\xC1\x4C", 0x007F6B}, 
{"\xC1\x4D", 0x007F6C}, {"\xC1\x4E", 0x007F6D}, {"\xC1\x4F", 0x007F6F}, {"\xC1\x50", 0x007F70}, 
{"\xC1\x51", 0x007F73}, {"\xC1\x52", 0x007F75}, {"\xC1\x53", 0x007F76}, {"\xC1\x54", 0x007F77}, 
{"\xC1\x55", 0x007F78}, {"\xC1\x56", 0x007F7A}, {"\xC1\x57", 0x007F7B}, {"\xC1\x58", 0x007F7C}, 
{"\xC1\x59", 0x007F7D}, {"\xC1\x5A", 0x007F7F}, {"\xC1\x5B", 0x007F80}, {"\xC1\x5C", 0x007F82}, 
{"\xC1\x5D", 0x007F83}, {"\xC1\x5E", 0x007F84}, {"\xC1\x5F", 0x007F85}, {"\xC1\x60", 0x007F86}, 
{"\xC1\x61", 0x007F87}, {"\xC1\x62", 0x007F88}, {"\xC1\x63", 0x007F89}, {"\xC1\x64", 0x007F8B}, 
{"\xC1\x65", 0x007F8D}, {"\xC1\x66", 0x007F8F}, {"\xC1\x67", 0x007F90}, {"\xC1\x68", 0x007F91}, 
{"\xC1\x69", 0x007F92}, {"\xC1\x6A", 0x007F93}, {"\xC1\x6B", 0x007F95}, {"\xC1\x6C", 0x007F96}, 
{"\xC1\x6D", 0x007F97}, {"\xC1\x6E", 0x007F98}, {"\xC1\x6F", 0x007F99}, {"\xC1\x70", 0x007F9B}, 
{"\xC1\x71", 0x007F9C}, {"\xC1\x72", 0x007FA0}, {"\xC1\x73", 0x007FA2}, {"\xC1\x74", 0x007FA3}, 
{"\xC1\x75", 0x007FA5}, {"\xC1\x76", 0x007FA6}, {"\xC1\x77", 0x007FA8}, {"\xC1\x78", 0x007FA9}, 
{"\xC1\x79", 0x007FAA}, {"\xC1\x7A", 0x007FAB}, {"\xC1\x7B", 0x007FAC}, {"\xC1\x7C", 0x007FAD}, 
{"\xC1\x7D", 0x007FAE}, {"\xC1\x7E", 0x007FB1}, {"\xC1\x80", 0x007FB3}, {"\xC1\x81", 0x007FB4}, 
{"\xC1\x82", 0x007FB5}, {"\xC1\x83", 0x007FB6}, {"\xC1\x84", 0x007FB7}, {"\xC1\x85", 0x007FBA}, 
{"\xC1\x86", 0x007FBB}, {"\xC1\x87", 0x007FBE}, {"\xC1\x88", 0x007FC0}, {"\xC1\x89", 0x007FC2}, 
{"\xC1\x8A", 0x007FC3}, {"\xC1\x8B", 0x007FC4}, {"\xC1\x8C", 0x007FC6}, {"\xC1\x8D", 0x007FC7}, 
{"\xC1\x8E", 0x007FC8}, {"\xC1\x8F", 0x007FC9}, {"\xC1\x90", 0x007FCB}, {"\xC1\x91", 0x007FCD}, 
{"\xC1\x92", 0x007FCF}, {"\xC1\x93", 0x007FD0}, {"\xC1\x94", 0x007FD1}, {"\xC1\x95", 0x007FD2}, 
{"\xC1\x96", 0x007FD3}, {"\xC1\x97", 0x007FD6}, {"\xC1\x98", 0x007FD7}, {"\xC1\x99", 0x007FD9}, 
{"\xC1\x9A", 0x007FDA}, {"\xC1\x9B", 0x007FDB}, {"\xC1\x9C", 0x007FDC}, {"\xC1\x9D", 0x007FDD}, 
{"\xC1\x9E", 0x007FDE}, {"\xC1\x9F", 0x007FE2}, {"\xC1\xA0", 0x007FE3}, {"\xC1\xA1", 0x0075E2}, 
{"\xC1\xA2", 0x007ACB}, {"\xC1\xA3", 0x007C92}, {"\xC1\xA4", 0x006CA5}, {"\xC1\xA5", 0x0096B6}, 
{"\xC1\xA6", 0x00529B}, {"\xC1\xA7", 0x007483}, {"\xC1\xA8", 0x0054E9}, {"\xC1\xA9", 0x004FE9}, 
{"\xC1\xAA", 0x008054}, {"\xC1\xAB", 0x0083B2}, {"\xC1\xAC", 0x008FDE}, {"\xC1\xAD", 0x009570}, 
{"\xC1\xAE", 0x005EC9}, {"\xC1\xAF", 0x00601C}, {"\xC1\xB0", 0x006D9F}, {"\xC1\xB1", 0x005E18}, 
{"\xC1\xB2", 0x00655B}, {"\xC1\xB3", 0x008138}, {"\xC1\xB4", 0x0094FE}, {"\xC1\xB5", 0x00604B}, 
{"\xC1\xB6", 0x0070BC}, {"\xC1\xB7", 0x007EC3}, {"\xC1\xB8", 0x007CAE}, {"\xC1\xB9", 0x0051C9}, 
{"\xC1\xBA", 0x006881}, {"\xC1\xBB", 0x007CB1}, {"\xC1\xBC", 0x00826F}, {"\xC1\xBD", 0x004E24}, 
{"\xC1\xBE", 0x008F86}, {"\xC1\xBF", 0x0091CF}, {"\xC1\xC0", 0x00667E}, {"\xC1\xC1", 0x004EAE}, 
{"\xC1\xC2", 0x008C05}, {"\xC1\xC3", 0x0064A9}, {"\xC1\xC4", 0x00804A}, {"\xC1\xC5", 0x0050DA}, 
{"\xC1\xC6", 0x007597}, {"\xC1\xC7", 0x0071CE}, {"\xC1\xC8", 0x005BE5}, {"\xC1\xC9", 0x008FBD}, 
{"\xC1\xCA", 0x006F66}, {"\xC1\xCB", 0x004E86}, {"\xC1\xCC", 0x006482}, {"\xC1\xCD", 0x009563}, 
{"\xC1\xCE", 0x005ED6}, {"\xC1\xCF", 0x006599}, {"\xC1\xD0", 0x005217}, {"\xC1\xD1", 0x0088C2}, 
{"\xC1\xD2", 0x0070C8}, {"\xC1\xD3", 0x0052A3}, {"\xC1\xD4", 0x00730E}, {"\xC1\xD5", 0x007433}, 
{"\xC1\xD6", 0x006797}, {"\xC1\xD7", 0x0078F7}, {"\xC1\xD8", 0x009716}, {"\xC1\xD9", 0x004E34}, 
{"\xC1\xDA", 0x0090BB}, {"\xC1\xDB", 0x009CDE}, {"\xC1\xDC", 0x006DCB}, {"\xC1\xDD", 0x0051DB}, 
{"\xC1\xDE", 0x008D41}, {"\xC1\xDF", 0x00541D}, {"\xC1\xE0", 0x0062CE}, {"\xC1\xE1", 0x0073B2}, 
{"\xC1\xE2", 0x0083F1}, {"\xC1\xE3", 0x0096F6}, {"\xC1\xE4", 0x009F84}, {"\xC1\xE5", 0x0094C3}, 
{"\xC1\xE6", 0x004F36}, {"\xC1\xE7", 0x007F9A}, {"\xC1\xE8", 0x0051CC}, {"\xC1\xE9", 0x007075}, 
{"\xC1\xEA", 0x009675}, {"\xC1\xEB", 0x005CAD}, {"\xC1\xEC", 0x009886}, {"\xC1\xED", 0x0053E6}, 
{"\xC1\xEE", 0x004EE4}, {"\xC1\xEF", 0x006E9C}, {"\xC1\xF0", 0x007409}, {"\xC1\xF1", 0x0069B4}, 
{"\xC1\xF2", 0x00786B}, {"\xC1\xF3", 0x00998F}, {"\xC1\xF4", 0x007559}, {"\xC1\xF5", 0x005218}, 
{"\xC1\xF6", 0x007624}, {"\xC1\xF7", 0x006D41}, {"\xC1\xF8", 0x0067F3}, {"\xC1\xF9", 0x00516D}, 
{"\xC1\xFA", 0x009F99}, {"\xC1\xFB", 0x00804B}, {"\xC1\xFC", 0x005499}, {"\xC1\xFD", 0x007B3C}, 
{"\xC1\xFE", 0x007ABF}, {"\xC2\x40", 0x007FE4}, {"\xC2\x41", 0x007FE7}, {"\xC2\x42", 0x007FE8}, 
{"\xC2\x43", 0x007FEA}, {"\xC2\x44", 0x007FEB}, {"\xC2\x45", 0x007FEC}, {"\xC2\x46", 0x007FED}, 
{"\xC2\x47", 0x007FEF}, {"\xC2\x48", 0x007FF2}, {"\xC2\x49", 0x007FF4}, {"\xC2\x4A", 0x007FF5}, 
{"\xC2\x4B", 0x007FF6}, {"\xC2\x4C", 0x007FF7}, {"\xC2\x4D", 0x007FF8}, {"\xC2\x4E", 0x007FF9}, 
{"\xC2\x4F", 0x007FFA}, {"\xC2\x50", 0x007FFD}, {"\xC2\x51", 0x007FFE}, {"\xC2\x52", 0x007FFF}, 
{"\xC2\x53", 0x008002}, {"\xC2\x54", 0x008007}, {"\xC2\x55", 0x008008}, {"\xC2\x56", 0x008009}, 
{"\xC2\x57", 0x00800A}, {"\xC2\x58", 0x00800E}, {"\xC2\x59", 0x00800F}, {"\xC2\x5A", 0x008011}, 
{"\xC2\x5B", 0x008013}, {"\xC2\x5C", 0x00801A}, {"\xC2\x5D", 0x00801B}, {"\xC2\x5E", 0x00801D}, 
{"\xC2\x5F", 0x00801E}, {"\xC2\x60", 0x00801F}, {"\xC2\x61", 0x008021}, {"\xC2\x62", 0x008023}, 
{"\xC2\x63", 0x008024}, {"\xC2\x64", 0x00802B}, {"\xC2\x65", 0x00802C}, {"\xC2\x66", 0x00802D}, 
{"\xC2\x67", 0x00802E}, {"\xC2\x68", 0x00802F}, {"\xC2\x69", 0x008030}, {"\xC2\x6A", 0x008032}, 
{"\xC2\x6B", 0x008034}, {"\xC2\x6C", 0x008039}, {"\xC2\x6D", 0x00803A}, {"\xC2\x6E", 0x00803C}, 
{"\xC2\x6F", 0x00803E}, {"\xC2\x70", 0x008040}, {"\xC2\x71", 0x008041}, {"\xC2\x72", 0x008044}, 
{"\xC2\x73", 0x008045}, {"\xC2\x74", 0x008047}, {"\xC2\x75", 0x008048}, {"\xC2\x76", 0x008049}, 
{"\xC2\x77", 0x00804E}, {"\xC2\x78", 0x00804F}, {"\xC2\x79", 0x008050}, {"\xC2\x7A", 0x008051}, 
{"\xC2\x7B", 0x008053}, {"\xC2\x7C", 0x008055}, {"\xC2\x7D", 0x008056}, {"\xC2\x7E", 0x008057}, 
{"\xC2\x80", 0x008059}, {"\xC2\x81", 0x00805B}, {"\xC2\x82", 0x00805C}, {"\xC2\x83", 0x00805D}, 

};
 for(size_t i=1; i<sizeof(db2bmp_30_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_30_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_31_gb18030_init()
{
static MB2UData db2bmp_31_gb18030 [] = { {"", 0}, 
{"\xC2\x84", 0x00805E}, {"\xC2\x85", 0x00805F}, {"\xC2\x86", 0x008060}, {"\xC2\x87", 0x008061}, 
{"\xC2\x88", 0x008062}, {"\xC2\x89", 0x008063}, {"\xC2\x8A", 0x008064}, {"\xC2\x8B", 0x008065}, 
{"\xC2\x8C", 0x008066}, {"\xC2\x8D", 0x008067}, {"\xC2\x8E", 0x008068}, {"\xC2\x8F", 0x00806B}, 
{"\xC2\x90", 0x00806C}, {"\xC2\x91", 0x00806D}, {"\xC2\x92", 0x00806E}, {"\xC2\x93", 0x00806F}, 
{"\xC2\x94", 0x008070}, {"\xC2\x95", 0x008072}, {"\xC2\x96", 0x008073}, {"\xC2\x97", 0x008074}, 
{"\xC2\x98", 0x008075}, {"\xC2\x99", 0x008076}, {"\xC2\x9A", 0x008077}, {"\xC2\x9B", 0x008078}, 
{"\xC2\x9C", 0x008079}, {"\xC2\x9D", 0x00807A}, {"\xC2\x9E", 0x00807B}, {"\xC2\x9F", 0x00807C}, 
{"\xC2\xA0", 0x00807D}, {"\xC2\xA1", 0x009686}, {"\xC2\xA2", 0x005784}, {"\xC2\xA3", 0x0062E2}, 
{"\xC2\xA4", 0x009647}, {"\xC2\xA5", 0x00697C}, {"\xC2\xA6", 0x005A04}, {"\xC2\xA7", 0x006402}, 
{"\xC2\xA8", 0x007BD3}, {"\xC2\xA9", 0x006F0F}, {"\xC2\xAA", 0x00964B}, {"\xC2\xAB", 0x0082A6}, 
{"\xC2\xAC", 0x005362}, {"\xC2\xAD", 0x009885}, {"\xC2\xAE", 0x005E90}, {"\xC2\xAF", 0x007089}, 
{"\xC2\xB0", 0x0063B3}, {"\xC2\xB1", 0x005364}, {"\xC2\xB2", 0x00864F}, {"\xC2\xB3", 0x009C81}, 
{"\xC2\xB4", 0x009E93}, {"\xC2\xB5", 0x00788C}, {"\xC2\xB6", 0x009732}, {"\xC2\xB7", 0x008DEF}, 
{"\xC2\xB8", 0x008D42}, {"\xC2\xB9", 0x009E7F}, {"\xC2\xBA", 0x006F5E}, {"\xC2\xBB", 0x007984}, 
{"\xC2\xBC", 0x005F55}, {"\xC2\xBD", 0x009646}, {"\xC2\xBE", 0x00622E}, {"\xC2\xBF", 0x009A74}, 
{"\xC2\xC0", 0x005415}, {"\xC2\xC1", 0x0094DD}, {"\xC2\xC2", 0x004FA3}, {"\xC2\xC3", 0x0065C5}, 
{"\xC2\xC4", 0x005C65}, {"\xC2\xC5", 0x005C61}, {"\xC2\xC6", 0x007F15}, {"\xC2\xC7", 0x008651}, 
{"\xC2\xC8", 0x006C2F}, {"\xC2\xC9", 0x005F8B}, {"\xC2\xCA", 0x007387}, {"\xC2\xCB", 0x006EE4}, 
{"\xC2\xCC", 0x007EFF}, {"\xC2\xCD", 0x005CE6}, {"\xC2\xCE", 0x00631B}, {"\xC2\xCF", 0x005B6A}, 
{"\xC2\xD0", 0x006EE6}, {"\xC2\xD1", 0x005375}, {"\xC2\xD2", 0x004E71}, {"\xC2\xD3", 0x0063A0}, 
{"\xC2\xD4", 0x007565}, {"\xC2\xD5", 0x0062A1}, {"\xC2\xD6", 0x008F6E}, {"\xC2\xD7", 0x004F26}, 
{"\xC2\xD8", 0x004ED1}, {"\xC2\xD9", 0x006CA6}, {"\xC2\xDA", 0x007EB6}, {"\xC2\xDB", 0x008BBA}, 
{"\xC2\xDC", 0x00841D}, {"\xC2\xDD", 0x0087BA}, {"\xC2\xDE", 0x007F57}, {"\xC2\xDF", 0x00903B}, 
{"\xC2\xE0", 0x009523}, {"\xC2\xE1", 0x007BA9}, {"\xC2\xE2", 0x009AA1}, {"\xC2\xE3", 0x0088F8}, 
{"\xC2\xE4", 0x00843D}, {"\xC2\xE5", 0x006D1B}, {"\xC2\xE6", 0x009A86}, {"\xC2\xE7", 0x007EDC}, 
{"\xC2\xE8", 0x005988}, {"\xC2\xE9", 0x009EBB}, {"\xC2\xEA", 0x00739B}, {"\xC2\xEB", 0x007801}, 
{"\xC2\xEC", 0x008682}, {"\xC2\xED", 0x009A6C}, {"\xC2\xEE", 0x009A82}, {"\xC2\xEF", 0x00561B}, 
{"\xC2\xF0", 0x005417}, {"\xC2\xF1", 0x0057CB}, {"\xC2\xF2", 0x004E70}, {"\xC2\xF3", 0x009EA6}, 
{"\xC2\xF4", 0x005356}, {"\xC2\xF5", 0x008FC8}, {"\xC2\xF6", 0x008109}, {"\xC2\xF7", 0x007792}, 
{"\xC2\xF8", 0x009992}, {"\xC2\xF9", 0x0086EE}, {"\xC2\xFA", 0x006EE1}, {"\xC2\xFB", 0x008513}, 
{"\xC2\xFC", 0x0066FC}, {"\xC2\xFD", 0x006162}, {"\xC2\xFE", 0x006F2B}, {"\xC3\x40", 0x00807E}, 
{"\xC3\x41", 0x008081}, {"\xC3\x42", 0x008082}, {"\xC3\x43", 0x008085}, {"\xC3\x44", 0x008088}, 
{"\xC3\x45", 0x00808A}, {"\xC3\x46", 0x00808D}, {"\xC3\x47", 0x00808E}, {"\xC3\x48", 0x00808F}, 
{"\xC3\x49", 0x008090}, {"\xC3\x4A", 0x008091}, {"\xC3\x4B", 0x008092}, {"\xC3\x4C", 0x008094}, 
{"\xC3\x4D", 0x008095}, {"\xC3\x4E", 0x008097}, {"\xC3\x4F", 0x008099}, {"\xC3\x50", 0x00809E}, 
{"\xC3\x51", 0x0080A3}, {"\xC3\x52", 0x0080A6}, {"\xC3\x53", 0x0080A7}, {"\xC3\x54", 0x0080A8}, 
{"\xC3\x55", 0x0080AC}, {"\xC3\x56", 0x0080B0}, {"\xC3\x57", 0x0080B3}, {"\xC3\x58", 0x0080B5}, 
{"\xC3\x59", 0x0080B6}, {"\xC3\x5A", 0x0080B8}, {"\xC3\x5B", 0x0080B9}, {"\xC3\x5C", 0x0080BB}, 
{"\xC3\x5D", 0x0080C5}, {"\xC3\x5E", 0x0080C7}, {"\xC3\x5F", 0x0080C8}, {"\xC3\x60", 0x0080C9}, 
{"\xC3\x61", 0x0080CA}, {"\xC3\x62", 0x0080CB}, {"\xC3\x63", 0x0080CF}, {"\xC3\x64", 0x0080D0}, 
{"\xC3\x65", 0x0080D1}, {"\xC3\x66", 0x0080D2}, {"\xC3\x67", 0x0080D3}, {"\xC3\x68", 0x0080D4}, 
{"\xC3\x69", 0x0080D5}, {"\xC3\x6A", 0x0080D8}, {"\xC3\x6B", 0x0080DF}, {"\xC3\x6C", 0x0080E0}, 
{"\xC3\x6D", 0x0080E2}, {"\xC3\x6E", 0x0080E3}, {"\xC3\x6F", 0x0080E6}, {"\xC3\x70", 0x0080EE}, 
{"\xC3\x71", 0x0080F5}, {"\xC3\x72", 0x0080F7}, {"\xC3\x73", 0x0080F9}, {"\xC3\x74", 0x0080FB}, 
{"\xC3\x75", 0x0080FE}, {"\xC3\x76", 0x0080FF}, {"\xC3\x77", 0x008100}, {"\xC3\x78", 0x008101}, 
{"\xC3\x79", 0x008103}, {"\xC3\x7A", 0x008104}, {"\xC3\x7B", 0x008105}, {"\xC3\x7C", 0x008107}, 
{"\xC3\x7D", 0x008108}, {"\xC3\x7E", 0x00810B}, {"\xC3\x80", 0x00810C}, {"\xC3\x81", 0x008115}, 
{"\xC3\x82", 0x008117}, {"\xC3\x83", 0x008119}, {"\xC3\x84", 0x00811B}, {"\xC3\x85", 0x00811C}, 
{"\xC3\x86", 0x00811D}, {"\xC3\x87", 0x00811F}, {"\xC3\x88", 0x008120}, {"\xC3\x89", 0x008121}, 
{"\xC3\x8A", 0x008122}, {"\xC3\x8B", 0x008123}, {"\xC3\x8C", 0x008124}, {"\xC3\x8D", 0x008125}, 
{"\xC3\x8E", 0x008126}, {"\xC3\x8F", 0x008127}, {"\xC3\x90", 0x008128}, {"\xC3\x91", 0x008129}, 
{"\xC3\x92", 0x00812A}, {"\xC3\x93", 0x00812B}, {"\xC3\x94", 0x00812D}, {"\xC3\x95", 0x00812E}, 
{"\xC3\x96", 0x008130}, {"\xC3\x97", 0x008133}, {"\xC3\x98", 0x008134}, {"\xC3\x99", 0x008135}, 
{"\xC3\x9A", 0x008137}, {"\xC3\x9B", 0x008139}, {"\xC3\x9C", 0x00813A}, {"\xC3\x9D", 0x00813B}, 
{"\xC3\x9E", 0x00813C}, {"\xC3\x9F", 0x00813D}, {"\xC3\xA0", 0x00813F}, {"\xC3\xA1", 0x008C29}, 
{"\xC3\xA2", 0x008292}, {"\xC3\xA3", 0x00832B}, {"\xC3\xA4", 0x0076F2}, {"\xC3\xA5", 0x006C13}, 
{"\xC3\xA6", 0x005FD9}, {"\xC3\xA7", 0x0083BD}, {"\xC3\xA8", 0x00732B}, {"\xC3\xA9", 0x008305}, 
{"\xC3\xAA", 0x00951A}, {"\xC3\xAB", 0x006BDB}, {"\xC3\xAC", 0x0077DB}, {"\xC3\xAD", 0x0094C6}, 
{"\xC3\xAE", 0x00536F}, {"\xC3\xAF", 0x008302}, {"\xC3\xB0", 0x005192}, {"\xC3\xB1", 0x005E3D}, 
{"\xC3\xB2", 0x008C8C}, {"\xC3\xB3", 0x008D38}, {"\xC3\xB4", 0x004E48}, {"\xC3\xB5", 0x0073AB}, 
{"\xC3\xB6", 0x00679A}, {"\xC3\xB7", 0x006885}, {"\xC3\xB8", 0x009176}, {"\xC3\xB9", 0x009709}, 
{"\xC3\xBA", 0x007164}, {"\xC3\xBB", 0x006CA1}, {"\xC3\xBC", 0x007709}, {"\xC3\xBD", 0x005A92}, 
{"\xC3\xBE", 0x009541}, {"\xC3\xBF", 0x006BCF}, {"\xC3\xC0", 0x007F8E}, {"\xC3\xC1", 0x006627}, 
{"\xC3\xC2", 0x005BD0}, {"\xC3\xC3", 0x0059B9}, {"\xC3\xC4", 0x005A9A}, {"\xC3\xC5", 0x0095E8}, 

};
 for(size_t i=1; i<sizeof(db2bmp_31_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_31_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_32_gb18030_init()
{
static MB2UData db2bmp_32_gb18030 [] = { {"", 0}, 
{"\xC3\xC6", 0x0095F7}, {"\xC3\xC7", 0x004EEC}, {"\xC3\xC8", 0x00840C}, {"\xC3\xC9", 0x008499}, 
{"\xC3\xCA", 0x006AAC}, {"\xC3\xCB", 0x0076DF}, {"\xC3\xCC", 0x009530}, {"\xC3\xCD", 0x00731B}, 
{"\xC3\xCE", 0x0068A6}, {"\xC3\xCF", 0x005B5F}, {"\xC3\xD0", 0x00772F}, {"\xC3\xD1", 0x00919A}, 
{"\xC3\xD2", 0x009761}, {"\xC3\xD3", 0x007CDC}, {"\xC3\xD4", 0x008FF7}, {"\xC3\xD5", 0x008C1C}, 
{"\xC3\xD6", 0x005F25}, {"\xC3\xD7", 0x007C73}, {"\xC3\xD8", 0x0079D8}, {"\xC3\xD9", 0x0089C5}, 
{"\xC3\xDA", 0x006CCC}, {"\xC3\xDB", 0x00871C}, {"\xC3\xDC", 0x005BC6}, {"\xC3\xDD", 0x005E42}, 
{"\xC3\xDE", 0x0068C9}, {"\xC3\xDF", 0x007720}, {"\xC3\xE0", 0x007EF5}, {"\xC3\xE1", 0x005195}, 
{"\xC3\xE2", 0x00514D}, {"\xC3\xE3", 0x0052C9}, {"\xC3\xE4", 0x005A29}, {"\xC3\xE5", 0x007F05}, 
{"\xC3\xE6", 0x009762}, {"\xC3\xE7", 0x0082D7}, {"\xC3\xE8", 0x0063CF}, {"\xC3\xE9", 0x007784}, 
{"\xC3\xEA", 0x0085D0}, {"\xC3\xEB", 0x0079D2}, {"\xC3\xEC", 0x006E3A}, {"\xC3\xED", 0x005E99}, 
{"\xC3\xEE", 0x005999}, {"\xC3\xEF", 0x008511}, {"\xC3\xF0", 0x00706D}, {"\xC3\xF1", 0x006C11}, 
{"\xC3\xF2", 0x0062BF}, {"\xC3\xF3", 0x0076BF}, {"\xC3\xF4", 0x00654F}, {"\xC3\xF5", 0x0060AF}, 
{"\xC3\xF6", 0x0095FD}, {"\xC3\xF7", 0x00660E}, {"\xC3\xF8", 0x00879F}, {"\xC3\xF9", 0x009E23}, 
{"\xC3\xFA", 0x0094ED}, {"\xC3\xFB", 0x00540D}, {"\xC3\xFC", 0x00547D}, {"\xC3\xFD", 0x008C2C}, 
{"\xC3\xFE", 0x006478}, {"\xC4\x40", 0x008140}, {"\xC4\x41", 0x008141}, {"\xC4\x42", 0x008142}, 
{"\xC4\x43", 0x008143}, {"\xC4\x44", 0x008144}, {"\xC4\x45", 0x008145}, {"\xC4\x46", 0x008147}, 
{"\xC4\x47", 0x008149}, {"\xC4\x48", 0x00814D}, {"\xC4\x49", 0x00814E}, {"\xC4\x4A", 0x00814F}, 
{"\xC4\x4B", 0x008152}, {"\xC4\x4C", 0x008156}, {"\xC4\x4D", 0x008157}, {"\xC4\x4E", 0x008158}, 
{"\xC4\x4F", 0x00815B}, {"\xC4\x50", 0x00815C}, {"\xC4\x51", 0x00815D}, {"\xC4\x52", 0x00815E}, 
{"\xC4\x53", 0x00815F}, {"\xC4\x54", 0x008161}, {"\xC4\x55", 0x008162}, {"\xC4\x56", 0x008163}, 
{"\xC4\x57", 0x008164}, {"\xC4\x58", 0x008166}, {"\xC4\x59", 0x008168}, {"\xC4\x5A", 0x00816A}, 
{"\xC4\x5B", 0x00816B}, {"\xC4\x5C", 0x00816C}, {"\xC4\x5D", 0x00816F}, {"\xC4\x5E", 0x008172}, 
{"\xC4\x5F", 0x008173}, {"\xC4\x60", 0x008175}, {"\xC4\x61", 0x008176}, {"\xC4\x62", 0x008177}, 
{"\xC4\x63", 0x008178}, {"\xC4\x64", 0x008181}, {"\xC4\x65", 0x008183}, {"\xC4\x66", 0x008184}, 
{"\xC4\x67", 0x008185}, {"\xC4\x68", 0x008186}, {"\xC4\x69", 0x008187}, {"\xC4\x6A", 0x008189}, 
{"\xC4\x6B", 0x00818B}, {"\xC4\x6C", 0x00818C}, {"\xC4\x6D", 0x00818D}, {"\xC4\x6E", 0x00818E}, 
{"\xC4\x6F", 0x008190}, {"\xC4\x70", 0x008192}, {"\xC4\x71", 0x008193}, {"\xC4\x72", 0x008194}, 
{"\xC4\x73", 0x008195}, {"\xC4\x74", 0x008196}, {"\xC4\x75", 0x008197}, {"\xC4\x76", 0x008199}, 
{"\xC4\x77", 0x00819A}, {"\xC4\x78", 0x00819E}, {"\xC4\x79", 0x00819F}, {"\xC4\x7A", 0x0081A0}, 
{"\xC4\x7B", 0x0081A1}, {"\xC4\x7C", 0x0081A2}, {"\xC4\x7D", 0x0081A4}, {"\xC4\x7E", 0x0081A5}, 
{"\xC4\x80", 0x0081A7}, {"\xC4\x81", 0x0081A9}, {"\xC4\x82", 0x0081AB}, {"\xC4\x83", 0x0081AC}, 
{"\xC4\x84", 0x0081AD}, {"\xC4\x85", 0x0081AE}, {"\xC4\x86", 0x0081AF}, {"\xC4\x87", 0x0081B0}, 
{"\xC4\x88", 0x0081B1}, {"\xC4\x89", 0x0081B2}, {"\xC4\x8A", 0x0081B4}, {"\xC4\x8B", 0x0081B5}, 
{"\xC4\x8C", 0x0081B6}, {"\xC4\x8D", 0x0081B7}, {"\xC4\x8E", 0x0081B8}, {"\xC4\x8F", 0x0081B9}, 
{"\xC4\x90", 0x0081BC}, {"\xC4\x91", 0x0081BD}, {"\xC4\x92", 0x0081BE}, {"\xC4\x93", 0x0081BF}, 
{"\xC4\x94", 0x0081C4}, {"\xC4\x95", 0x0081C5}, {"\xC4\x96", 0x0081C7}, {"\xC4\x97", 0x0081C8}, 
{"\xC4\x98", 0x0081C9}, {"\xC4\x99", 0x0081CB}, {"\xC4\x9A", 0x0081CD}, {"\xC4\x9B", 0x0081CE}, 
{"\xC4\x9C", 0x0081CF}, {"\xC4\x9D", 0x0081D0}, {"\xC4\x9E", 0x0081D1}, {"\xC4\x9F", 0x0081D2}, 
{"\xC4\xA0", 0x0081D3}, {"\xC4\xA1", 0x006479}, {"\xC4\xA2", 0x008611}, {"\xC4\xA3", 0x006A21}, 
{"\xC4\xA4", 0x00819C}, {"\xC4\xA5", 0x0078E8}, {"\xC4\xA6", 0x006469}, {"\xC4\xA7", 0x009B54}, 
{"\xC4\xA8", 0x0062B9}, {"\xC4\xA9", 0x00672B}, {"\xC4\xAA", 0x0083AB}, {"\xC4\xAB", 0x0058A8}, 
{"\xC4\xAC", 0x009ED8}, {"\xC4\xAD", 0x006CAB}, {"\xC4\xAE", 0x006F20}, {"\xC4\xAF", 0x005BDE}, 
{"\xC4\xB0", 0x00964C}, {"\xC4\xB1", 0x008C0B}, {"\xC4\xB2", 0x00725F}, {"\xC4\xB3", 0x0067D0}, 
{"\xC4\xB4", 0x0062C7}, {"\xC4\xB5", 0x007261}, {"\xC4\xB6", 0x004EA9}, {"\xC4\xB7", 0x0059C6}, 
{"\xC4\xB8", 0x006BCD}, {"\xC4\xB9", 0x005893}, {"\xC4\xBA", 0x0066AE}, {"\xC4\xBB", 0x005E55}, 
{"\xC4\xBC", 0x0052DF}, {"\xC4\xBD", 0x006155}, {"\xC4\xBE", 0x006728}, {"\xC4\xBF", 0x0076EE}, 
{"\xC4\xC0", 0x007766}, {"\xC4\xC1", 0x007267}, {"\xC4\xC2", 0x007A46}, {"\xC4\xC3", 0x0062FF}, 
{"\xC4\xC4", 0x0054EA}, {"\xC4\xC5", 0x005450}, {"\xC4\xC6", 0x0094A0}, {"\xC4\xC7", 0x0090A3}, 
{"\xC4\xC8", 0x005A1C}, {"\xC4\xC9", 0x007EB3}, {"\xC4\xCA", 0x006C16}, {"\xC4\xCB", 0x004E43}, 
{"\xC4\xCC", 0x005976}, {"\xC4\xCD", 0x008010}, {"\xC4\xCE", 0x005948}, {"\xC4\xCF", 0x005357}, 
{"\xC4\xD0", 0x007537}, {"\xC4\xD1", 0x0096BE}, {"\xC4\xD2", 0x0056CA}, {"\xC4\xD3", 0x006320}, 
{"\xC4\xD4", 0x008111}, {"\xC4\xD5", 0x00607C}, {"\xC4\xD6", 0x0095F9}, {"\xC4\xD7", 0x006DD6}, 
{"\xC4\xD8", 0x005462}, {"\xC4\xD9", 0x009981}, {"\xC4\xDA", 0x005185}, {"\xC4\xDB", 0x005AE9}, 
{"\xC4\xDC", 0x0080FD}, {"\xC4\xDD", 0x0059AE}, {"\xC4\xDE", 0x009713}, {"\xC4\xDF", 0x00502A}, 
{"\xC4\xE0", 0x006CE5}, {"\xC4\xE1", 0x005C3C}, {"\xC4\xE2", 0x0062DF}, {"\xC4\xE3", 0x004F60}, 
{"\xC4\xE4", 0x00533F}, {"\xC4\xE5", 0x00817B}, {"\xC4\xE6", 0x009006}, {"\xC4\xE7", 0x006EBA}, 
{"\xC4\xE8", 0x00852B}, {"\xC4\xE9", 0x0062C8}, {"\xC4\xEA", 0x005E74}, {"\xC4\xEB", 0x0078BE}, 
{"\xC4\xEC", 0x0064B5}, {"\xC4\xED", 0x00637B}, {"\xC4\xEE", 0x005FF5}, {"\xC4\xEF", 0x005A18}, 
{"\xC4\xF0", 0x00917F}, {"\xC4\xF1", 0x009E1F}, {"\xC4\xF2", 0x005C3F}, {"\xC4\xF3", 0x00634F}, 
{"\xC4\xF4", 0x008042}, {"\xC4\xF5", 0x005B7D}, {"\xC4\xF6", 0x00556E}, {"\xC4\xF7", 0x00954A}, 
{"\xC4\xF8", 0x00954D}, {"\xC4\xF9", 0x006D85}, {"\xC4\xFA", 0x0060A8}, {"\xC4\xFB", 0x0067E0}, 
{"\xC4\xFC", 0x0072DE}, {"\xC4\xFD", 0x0051DD}, {"\xC4\xFE", 0x005B81}, {"\xC5\x40", 0x0081D4}, 
{"\xC5\x41", 0x0081D5}, {"\xC5\x42", 0x0081D6}, {"\xC5\x43", 0x0081D7}, {"\xC5\x44", 0x0081D8}, 
{"\xC5\x45", 0x0081D9}, {"\xC5\x46", 0x0081DA}, {"\xC5\x47", 0x0081DB}, {"\xC5\x48", 0x0081DC}, 

};
 for(size_t i=1; i<sizeof(db2bmp_32_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_32_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_33_gb18030_init()
{
static MB2UData db2bmp_33_gb18030 [] = { {"", 0}, 
{"\xC5\x49", 0x0081DD}, {"\xC5\x4A", 0x0081DE}, {"\xC5\x4B", 0x0081DF}, {"\xC5\x4C", 0x0081E0}, 
{"\xC5\x4D", 0x0081E1}, {"\xC5\x4E", 0x0081E2}, {"\xC5\x4F", 0x0081E4}, {"\xC5\x50", 0x0081E5}, 
{"\xC5\x51", 0x0081E6}, {"\xC5\x52", 0x0081E8}, {"\xC5\x53", 0x0081E9}, {"\xC5\x54", 0x0081EB}, 
{"\xC5\x55", 0x0081EE}, {"\xC5\x56", 0x0081EF}, {"\xC5\x57", 0x0081F0}, {"\xC5\x58", 0x0081F1}, 
{"\xC5\x59", 0x0081F2}, {"\xC5\x5A", 0x0081F5}, {"\xC5\x5B", 0x0081F6}, {"\xC5\x5C", 0x0081F7}, 
{"\xC5\x5D", 0x0081F8}, {"\xC5\x5E", 0x0081F9}, {"\xC5\x5F", 0x0081FA}, {"\xC5\x60", 0x0081FD}, 
{"\xC5\x61", 0x0081FF}, {"\xC5\x62", 0x008203}, {"\xC5\x63", 0x008207}, {"\xC5\x64", 0x008208}, 
{"\xC5\x65", 0x008209}, {"\xC5\x66", 0x00820A}, {"\xC5\x67", 0x00820B}, {"\xC5\x68", 0x00820E}, 
{"\xC5\x69", 0x00820F}, {"\xC5\x6A", 0x008211}, {"\xC5\x6B", 0x008213}, {"\xC5\x6C", 0x008215}, 
{"\xC5\x6D", 0x008216}, {"\xC5\x6E", 0x008217}, {"\xC5\x6F", 0x008218}, {"\xC5\x70", 0x008219}, 
{"\xC5\x71", 0x00821A}, {"\xC5\x72", 0x00821D}, {"\xC5\x73", 0x008220}, {"\xC5\x74", 0x008224}, 
{"\xC5\x75", 0x008225}, {"\xC5\x76", 0x008226}, {"\xC5\x77", 0x008227}, {"\xC5\x78", 0x008229}, 
{"\xC5\x79", 0x00822E}, {"\xC5\x7A", 0x008232}, {"\xC5\x7B", 0x00823A}, {"\xC5\x7C", 0x00823C}, 
{"\xC5\x7D", 0x00823D}, {"\xC5\x7E", 0x00823F}, {"\xC5\x80", 0x008240}, {"\xC5\x81", 0x008241}, 
{"\xC5\x82", 0x008242}, {"\xC5\x83", 0x008243}, {"\xC5\x84", 0x008245}, {"\xC5\x85", 0x008246}, 
{"\xC5\x86", 0x008248}, {"\xC5\x87", 0x00824A}, {"\xC5\x88", 0x00824C}, {"\xC5\x89", 0x00824D}, 
{"\xC5\x8A", 0x00824E}, {"\xC5\x8B", 0x008250}, {"\xC5\x8C", 0x008251}, {"\xC5\x8D", 0x008252}, 
{"\xC5\x8E", 0x008253}, {"\xC5\x8F", 0x008254}, {"\xC5\x90", 0x008255}, {"\xC5\x91", 0x008256}, 
{"\xC5\x92", 0x008257}, {"\xC5\x93", 0x008259}, {"\xC5\x94", 0x00825B}, {"\xC5\x95", 0x00825C}, 
{"\xC5\x96", 0x00825D}, {"\xC5\x97", 0x00825E}, {"\xC5\x98", 0x008260}, {"\xC5\x99", 0x008261}, 
{"\xC5\x9A", 0x008262}, {"\xC5\x9B", 0x008263}, {"\xC5\x9C", 0x008264}, {"\xC5\x9D", 0x008265}, 
{"\xC5\x9E", 0x008266}, {"\xC5\x9F", 0x008267}, {"\xC5\xA0", 0x008269}, {"\xC5\xA1", 0x0062E7}, 
{"\xC5\xA2", 0x006CDE}, {"\xC5\xA3", 0x00725B}, {"\xC5\xA4", 0x00626D}, {"\xC5\xA5", 0x0094AE}, 
{"\xC5\xA6", 0x007EBD}, {"\xC5\xA7", 0x008113}, {"\xC5\xA8", 0x006D53}, {"\xC5\xA9", 0x00519C}, 
{"\xC5\xAA", 0x005F04}, {"\xC5\xAB", 0x005974}, {"\xC5\xAC", 0x0052AA}, {"\xC5\xAD", 0x006012}, 
{"\xC5\xAE", 0x005973}, {"\xC5\xAF", 0x006696}, {"\xC5\xB0", 0x008650}, {"\xC5\xB1", 0x00759F}, 
{"\xC5\xB2", 0x00632A}, {"\xC5\xB3", 0x0061E6}, {"\xC5\xB4", 0x007CEF}, {"\xC5\xB5", 0x008BFA}, 
{"\xC5\xB6", 0x0054E6}, {"\xC5\xB7", 0x006B27}, {"\xC5\xB8", 0x009E25}, {"\xC5\xB9", 0x006BB4}, 
{"\xC5\xBA", 0x0085D5}, {"\xC5\xBB", 0x005455}, {"\xC5\xBC", 0x005076}, {"\xC5\xBD", 0x006CA4}, 
{"\xC5\xBE", 0x00556A}, {"\xC5\xBF", 0x008DB4}, {"\xC5\xC0", 0x00722C}, {"\xC5\xC1", 0x005E15}, 
{"\xC5\xC2", 0x006015}, {"\xC5\xC3", 0x007436}, {"\xC5\xC4", 0x0062CD}, {"\xC5\xC5", 0x006392}, 
{"\xC5\xC6", 0x00724C}, {"\xC5\xC7", 0x005F98}, {"\xC5\xC8", 0x006E43}, {"\xC5\xC9", 0x006D3E}, 
{"\xC5\xCA", 0x006500}, {"\xC5\xCB", 0x006F58}, {"\xC5\xCC", 0x0076D8}, {"\xC5\xCD", 0x0078D0}, 
{"\xC5\xCE", 0x0076FC}, {"\xC5\xCF", 0x007554}, {"\xC5\xD0", 0x005224}, {"\xC5\xD1", 0x0053DB}, 
{"\xC5\xD2", 0x004E53}, {"\xC5\xD3", 0x005E9E}, {"\xC5\xD4", 0x0065C1}, {"\xC5\xD5", 0x00802A}, 
{"\xC5\xD6", 0x0080D6}, {"\xC5\xD7", 0x00629B}, {"\xC5\xD8", 0x005486}, {"\xC5\xD9", 0x005228}, 
{"\xC5\xDA", 0x0070AE}, {"\xC5\xDB", 0x00888D}, {"\xC5\xDC", 0x008DD1}, {"\xC5\xDD", 0x006CE1}, 
{"\xC5\xDE", 0x005478}, {"\xC5\xDF", 0x0080DA}, {"\xC5\xE0", 0x0057F9}, {"\xC5\xE1", 0x0088F4}, 
{"\xC5\xE2", 0x008D54}, {"\xC5\xE3", 0x00966A}, {"\xC5\xE4", 0x00914D}, {"\xC5\xE5", 0x004F69}, 
{"\xC5\xE6", 0x006C9B}, {"\xC5\xE7", 0x0055B7}, {"\xC5\xE8", 0x0076C6}, {"\xC5\xE9", 0x007830}, 
{"\xC5\xEA", 0x0062A8}, {"\xC5\xEB", 0x0070F9}, {"\xC5\xEC", 0x006F8E}, {"\xC5\xED", 0x005F6D}, 
{"\xC5\xEE", 0x0084EC}, {"\xC5\xEF", 0x0068DA}, {"\xC5\xF0", 0x00787C}, {"\xC5\xF1", 0x007BF7}, 
{"\xC5\xF2", 0x0081A8}, {"\xC5\xF3", 0x00670B}, {"\xC5\xF4", 0x009E4F}, {"\xC5\xF5", 0x006367}, 
{"\xC5\xF6", 0x0078B0}, {"\xC5\xF7", 0x00576F}, {"\xC5\xF8", 0x007812}, {"\xC5\xF9", 0x009739}, 
{"\xC5\xFA", 0x006279}, {"\xC5\xFB", 0x0062AB}, {"\xC5\xFC", 0x005288}, {"\xC5\xFD", 0x007435}, 
{"\xC5\xFE", 0x006BD7}, {"\xC6\x40", 0x00826A}, {"\xC6\x41", 0x00826B}, {"\xC6\x42", 0x00826C}, 
{"\xC6\x43", 0x00826D}, {"\xC6\x44", 0x008271}, {"\xC6\x45", 0x008275}, {"\xC6\x46", 0x008276}, 
{"\xC6\x47", 0x008277}, {"\xC6\x48", 0x008278}, {"\xC6\x49", 0x00827B}, {"\xC6\x4A", 0x00827C}, 
{"\xC6\x4B", 0x008280}, {"\xC6\x4C", 0x008281}, {"\xC6\x4D", 0x008283}, {"\xC6\x4E", 0x008285}, 
{"\xC6\x4F", 0x008286}, {"\xC6\x50", 0x008287}, {"\xC6\x51", 0x008289}, {"\xC6\x52", 0x00828C}, 
{"\xC6\x53", 0x008290}, {"\xC6\x54", 0x008293}, {"\xC6\x55", 0x008294}, {"\xC6\x56", 0x008295}, 
{"\xC6\x57", 0x008296}, {"\xC6\x58", 0x00829A}, {"\xC6\x59", 0x00829B}, {"\xC6\x5A", 0x00829E}, 
{"\xC6\x5B", 0x0082A0}, {"\xC6\x5C", 0x0082A2}, {"\xC6\x5D", 0x0082A3}, {"\xC6\x5E", 0x0082A7}, 
{"\xC6\x5F", 0x0082B2}, {"\xC6\x60", 0x0082B5}, {"\xC6\x61", 0x0082B6}, {"\xC6\x62", 0x0082BA}, 
{"\xC6\x63", 0x0082BB}, {"\xC6\x64", 0x0082BC}, {"\xC6\x65", 0x0082BF}, {"\xC6\x66", 0x0082C0}, 
{"\xC6\x67", 0x0082C2}, {"\xC6\x68", 0x0082C3}, {"\xC6\x69", 0x0082C5}, {"\xC6\x6A", 0x0082C6}, 
{"\xC6\x6B", 0x0082C9}, {"\xC6\x6C", 0x0082D0}, {"\xC6\x6D", 0x0082D6}, {"\xC6\x6E", 0x0082D9}, 
{"\xC6\x6F", 0x0082DA}, {"\xC6\x70", 0x0082DD}, {"\xC6\x71", 0x0082E2}, {"\xC6\x72", 0x0082E7}, 
{"\xC6\x73", 0x0082E8}, {"\xC6\x74", 0x0082E9}, {"\xC6\x75", 0x0082EA}, {"\xC6\x76", 0x0082EC}, 
{"\xC6\x77", 0x0082ED}, {"\xC6\x78", 0x0082EE}, {"\xC6\x79", 0x0082F0}, {"\xC6\x7A", 0x0082F2}, 
{"\xC6\x7B", 0x0082F3}, {"\xC6\x7C", 0x0082F5}, {"\xC6\x7D", 0x0082F6}, {"\xC6\x7E", 0x0082F8}, 
{"\xC6\x80", 0x0082FA}, {"\xC6\x81", 0x0082FC}, {"\xC6\x82", 0x0082FD}, {"\xC6\x83", 0x0082FE}, 
{"\xC6\x84", 0x0082FF}, {"\xC6\x85", 0x008300}, {"\xC6\x86", 0x00830A}, {"\xC6\x87", 0x00830B}, 
{"\xC6\x88", 0x00830D}, {"\xC6\x89", 0x008310}, {"\xC6\x8A", 0x008312}, {"\xC6\x8B", 0x008313}, 

};
 for(size_t i=1; i<sizeof(db2bmp_33_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_33_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_34_gb18030_init()
{
static MB2UData db2bmp_34_gb18030 [] = { {"", 0}, 
{"\xC6\x8C", 0x008316}, {"\xC6\x8D", 0x008318}, {"\xC6\x8E", 0x008319}, {"\xC6\x8F", 0x00831D}, 
{"\xC6\x90", 0x00831E}, {"\xC6\x91", 0x00831F}, {"\xC6\x92", 0x008320}, {"\xC6\x93", 0x008321}, 
{"\xC6\x94", 0x008322}, {"\xC6\x95", 0x008323}, {"\xC6\x96", 0x008324}, {"\xC6\x97", 0x008325}, 
{"\xC6\x98", 0x008326}, {"\xC6\x99", 0x008329}, {"\xC6\x9A", 0x00832A}, {"\xC6\x9B", 0x00832E}, 
{"\xC6\x9C", 0x008330}, {"\xC6\x9D", 0x008332}, {"\xC6\x9E", 0x008337}, {"\xC6\x9F", 0x00833B}, 
{"\xC6\xA0", 0x00833D}, {"\xC6\xA1", 0x005564}, {"\xC6\xA2", 0x00813E}, {"\xC6\xA3", 0x0075B2}, 
{"\xC6\xA4", 0x0076AE}, {"\xC6\xA5", 0x005339}, {"\xC6\xA6", 0x0075DE}, {"\xC6\xA7", 0x0050FB}, 
{"\xC6\xA8", 0x005C41}, {"\xC6\xA9", 0x008B6C}, {"\xC6\xAA", 0x007BC7}, {"\xC6\xAB", 0x00504F}, 
{"\xC6\xAC", 0x007247}, {"\xC6\xAD", 0x009A97}, {"\xC6\xAE", 0x0098D8}, {"\xC6\xAF", 0x006F02}, 
{"\xC6\xB0", 0x0074E2}, {"\xC6\xB1", 0x007968}, {"\xC6\xB2", 0x006487}, {"\xC6\xB3", 0x0077A5}, 
{"\xC6\xB4", 0x0062FC}, {"\xC6\xB5", 0x009891}, {"\xC6\xB6", 0x008D2B}, {"\xC6\xB7", 0x0054C1}, 
{"\xC6\xB8", 0x008058}, {"\xC6\xB9", 0x004E52}, {"\xC6\xBA", 0x00576A}, {"\xC6\xBB", 0x0082F9}, 
{"\xC6\xBC", 0x00840D}, {"\xC6\xBD", 0x005E73}, {"\xC6\xBE", 0x0051ED}, {"\xC6\xBF", 0x0074F6}, 
{"\xC6\xC0", 0x008BC4}, {"\xC6\xC1", 0x005C4F}, {"\xC6\xC2", 0x005761}, {"\xC6\xC3", 0x006CFC}, 
{"\xC6\xC4", 0x009887}, {"\xC6\xC5", 0x005A46}, {"\xC6\xC6", 0x007834}, {"\xC6\xC7", 0x009B44}, 
{"\xC6\xC8", 0x008FEB}, {"\xC6\xC9", 0x007C95}, {"\xC6\xCA", 0x005256}, {"\xC6\xCB", 0x006251}, 
{"\xC6\xCC", 0x0094FA}, {"\xC6\xCD", 0x004EC6}, {"\xC6\xCE", 0x008386}, {"\xC6\xCF", 0x008461}, 
{"\xC6\xD0", 0x0083E9}, {"\xC6\xD1", 0x0084B2}, {"\xC6\xD2", 0x0057D4}, {"\xC6\xD3", 0x006734}, 
{"\xC6\xD4", 0x005703}, {"\xC6\xD5", 0x00666E}, {"\xC6\xD6", 0x006D66}, {"\xC6\xD7", 0x008C31}, 
{"\xC6\xD8", 0x0066DD}, {"\xC6\xD9", 0x007011}, {"\xC6\xDA", 0x00671F}, {"\xC6\xDB", 0x006B3A}, 
{"\xC6\xDC", 0x006816}, {"\xC6\xDD", 0x00621A}, {"\xC6\xDE", 0x0059BB}, {"\xC6\xDF", 0x004E03}, 
{"\xC6\xE0", 0x0051C4}, {"\xC6\xE1", 0x006F06}, {"\xC6\xE2", 0x0067D2}, {"\xC6\xE3", 0x006C8F}, 
{"\xC6\xE4", 0x005176}, {"\xC6\xE5", 0x0068CB}, {"\xC6\xE6", 0x005947}, {"\xC6\xE7", 0x006B67}, 
{"\xC6\xE8", 0x007566}, {"\xC6\xE9", 0x005D0E}, {"\xC6\xEA", 0x008110}, {"\xC6\xEB", 0x009F50}, 
{"\xC6\xEC", 0x0065D7}, {"\xC6\xED", 0x007948}, {"\xC6\xEE", 0x007941}, {"\xC6\xEF", 0x009A91}, 
{"\xC6\xF0", 0x008D77}, {"\xC6\xF1", 0x005C82}, {"\xC6\xF2", 0x004E5E}, {"\xC6\xF3", 0x004F01}, 
{"\xC6\xF4", 0x00542F}, {"\xC6\xF5", 0x005951}, {"\xC6\xF6", 0x00780C}, {"\xC6\xF7", 0x005668}, 
{"\xC6\xF8", 0x006C14}, {"\xC6\xF9", 0x008FC4}, {"\xC6\xFA", 0x005F03}, {"\xC6\xFB", 0x006C7D}, 
{"\xC6\xFC", 0x006CE3}, {"\xC6\xFD", 0x008BAB}, {"\xC6\xFE", 0x006390}, {"\xC7\x40", 0x00833E}, 
{"\xC7\x41", 0x00833F}, {"\xC7\x42", 0x008341}, {"\xC7\x43", 0x008342}, {"\xC7\x44", 0x008344}, 
{"\xC7\x45", 0x008345}, {"\xC7\x46", 0x008348}, {"\xC7\x47", 0x00834A}, {"\xC7\x48", 0x00834B}, 
{"\xC7\x49", 0x00834C}, {"\xC7\x4A", 0x00834D}, {"\xC7\x4B", 0x00834E}, {"\xC7\x4C", 0x008353}, 
{"\xC7\x4D", 0x008355}, {"\xC7\x4E", 0x008356}, {"\xC7\x4F", 0x008357}, {"\xC7\x50", 0x008358}, 
{"\xC7\x51", 0x008359}, {"\xC7\x52", 0x00835D}, {"\xC7\x53", 0x008362}, {"\xC7\x54", 0x008370}, 
{"\xC7\x55", 0x008371}, {"\xC7\x56", 0x008372}, {"\xC7\x57", 0x008373}, {"\xC7\x58", 0x008374}, 
{"\xC7\x59", 0x008375}, {"\xC7\x5A", 0x008376}, {"\xC7\x5B", 0x008379}, {"\xC7\x5C", 0x00837A}, 
{"\xC7\x5D", 0x00837E}, {"\xC7\x5E", 0x00837F}, {"\xC7\x5F", 0x008380}, {"\xC7\x60", 0x008381}, 
{"\xC7\x61", 0x008382}, {"\xC7\x62", 0x008383}, {"\xC7\x63", 0x008384}, {"\xC7\x64", 0x008387}, 
{"\xC7\x65", 0x008388}, {"\xC7\x66", 0x00838A}, {"\xC7\x67", 0x00838B}, {"\xC7\x68", 0x00838C}, 
{"\xC7\x69", 0x00838D}, {"\xC7\x6A", 0x00838F}, {"\xC7\x6B", 0x008390}, {"\xC7\x6C", 0x008391}, 
{"\xC7\x6D", 0x008394}, {"\xC7\x6E", 0x008395}, {"\xC7\x6F", 0x008396}, {"\xC7\x70", 0x008397}, 
{"\xC7\x71", 0x008399}, {"\xC7\x72", 0x00839A}, {"\xC7\x73", 0x00839D}, {"\xC7\x74", 0x00839F}, 
{"\xC7\x75", 0x0083A1}, {"\xC7\x76", 0x0083A2}, {"\xC7\x77", 0x0083A3}, {"\xC7\x78", 0x0083A4}, 
{"\xC7\x79", 0x0083A5}, {"\xC7\x7A", 0x0083A6}, {"\xC7\x7B", 0x0083A7}, {"\xC7\x7C", 0x0083AC}, 
{"\xC7\x7D", 0x0083AD}, {"\xC7\x7E", 0x0083AE}, {"\xC7\x80", 0x0083AF}, {"\xC7\x81", 0x0083B5}, 
{"\xC7\x82", 0x0083BB}, {"\xC7\x83", 0x0083BE}, {"\xC7\x84", 0x0083BF}, {"\xC7\x85", 0x0083C2}, 
{"\xC7\x86", 0x0083C3}, {"\xC7\x87", 0x0083C4}, {"\xC7\x88", 0x0083C6}, {"\xC7\x89", 0x0083C8}, 
{"\xC7\x8A", 0x0083C9}, {"\xC7\x8B", 0x0083CB}, {"\xC7\x8C", 0x0083CD}, {"\xC7\x8D", 0x0083CE}, 
{"\xC7\x8E", 0x0083D0}, {"\xC7\x8F", 0x0083D1}, {"\xC7\x90", 0x0083D2}, {"\xC7\x91", 0x0083D3}, 
{"\xC7\x92", 0x0083D5}, {"\xC7\x93", 0x0083D7}, {"\xC7\x94", 0x0083D9}, {"\xC7\x95", 0x0083DA}, 
{"\xC7\x96", 0x0083DB}, {"\xC7\x97", 0x0083DE}, {"\xC7\x98", 0x0083E2}, {"\xC7\x99", 0x0083E3}, 
{"\xC7\x9A", 0x0083E4}, {"\xC7\x9B", 0x0083E6}, {"\xC7\x9C", 0x0083E7}, {"\xC7\x9D", 0x0083E8}, 
{"\xC7\x9E", 0x0083EB}, {"\xC7\x9F", 0x0083EC}, {"\xC7\xA0", 0x0083ED}, {"\xC7\xA1", 0x006070}, 
{"\xC7\xA2", 0x006D3D}, {"\xC7\xA3", 0x007275}, {"\xC7\xA4", 0x006266}, {"\xC7\xA5", 0x00948E}, 
{"\xC7\xA6", 0x0094C5}, {"\xC7\xA7", 0x005343}, {"\xC7\xA8", 0x008FC1}, {"\xC7\xA9", 0x007B7E}, 
{"\xC7\xAA", 0x004EDF}, {"\xC7\xAB", 0x008C26}, {"\xC7\xAC", 0x004E7E}, {"\xC7\xAD", 0x009ED4}, 
{"\xC7\xAE", 0x0094B1}, {"\xC7\xAF", 0x0094B3}, {"\xC7\xB0", 0x00524D}, {"\xC7\xB1", 0x006F5C}, 
{"\xC7\xB2", 0x009063}, {"\xC7\xB3", 0x006D45}, {"\xC7\xB4", 0x008C34}, {"\xC7\xB5", 0x005811}, 
{"\xC7\xB6", 0x005D4C}, {"\xC7\xB7", 0x006B20}, {"\xC7\xB8", 0x006B49}, {"\xC7\xB9", 0x0067AA}, 
{"\xC7\xBA", 0x00545B}, {"\xC7\xBB", 0x008154}, {"\xC7\xBC", 0x007F8C}, {"\xC7\xBD", 0x005899}, 
{"\xC7\xBE", 0x008537}, {"\xC7\xBF", 0x005F3A}, {"\xC7\xC0", 0x0062A2}, {"\xC7\xC1", 0x006A47}, 
{"\xC7\xC2", 0x009539}, {"\xC7\xC3", 0x006572}, {"\xC7\xC4", 0x006084}, {"\xC7\xC5", 0x006865}, 
{"\xC7\xC6", 0x0077A7}, {"\xC7\xC7", 0x004E54}, {"\xC7\xC8", 0x004FA8}, {"\xC7\xC9", 0x005DE7}, 
{"\xC7\xCA", 0x009798}, {"\xC7\xCB", 0x0064AC}, {"\xC7\xCC", 0x007FD8}, {"\xC7\xCD", 0x005CED}, 

};
 for(size_t i=1; i<sizeof(db2bmp_34_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_34_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_35_gb18030_init()
{
static MB2UData db2bmp_35_gb18030 [] = { {"", 0}, 
{"\xC7\xCE", 0x004FCF}, {"\xC7\xCF", 0x007A8D}, {"\xC7\xD0", 0x005207}, {"\xC7\xD1", 0x008304}, 
{"\xC7\xD2", 0x004E14}, {"\xC7\xD3", 0x00602F}, {"\xC7\xD4", 0x007A83}, {"\xC7\xD5", 0x0094A6}, 
{"\xC7\xD6", 0x004FB5}, {"\xC7\xD7", 0x004EB2}, {"\xC7\xD8", 0x0079E6}, {"\xC7\xD9", 0x007434}, 
{"\xC7\xDA", 0x0052E4}, {"\xC7\xDB", 0x0082B9}, {"\xC7\xDC", 0x0064D2}, {"\xC7\xDD", 0x0079BD}, 
{"\xC7\xDE", 0x005BDD}, {"\xC7\xDF", 0x006C81}, {"\xC7\xE0", 0x009752}, {"\xC7\xE1", 0x008F7B}, 
{"\xC7\xE2", 0x006C22}, {"\xC7\xE3", 0x00503E}, {"\xC7\xE4", 0x00537F}, {"\xC7\xE5", 0x006E05}, 
{"\xC7\xE6", 0x0064CE}, {"\xC7\xE7", 0x006674}, {"\xC7\xE8", 0x006C30}, {"\xC7\xE9", 0x0060C5}, 
{"\xC7\xEA", 0x009877}, {"\xC7\xEB", 0x008BF7}, {"\xC7\xEC", 0x005E86}, {"\xC7\xED", 0x00743C}, 
{"\xC7\xEE", 0x007A77}, {"\xC7\xEF", 0x0079CB}, {"\xC7\xF0", 0x004E18}, {"\xC7\xF1", 0x0090B1}, 
{"\xC7\xF2", 0x007403}, {"\xC7\xF3", 0x006C42}, {"\xC7\xF4", 0x0056DA}, {"\xC7\xF5", 0x00914B}, 
{"\xC7\xF6", 0x006CC5}, {"\xC7\xF7", 0x008D8B}, {"\xC7\xF8", 0x00533A}, {"\xC7\xF9", 0x0086C6}, 
{"\xC7\xFA", 0x0066F2}, {"\xC7\xFB", 0x008EAF}, {"\xC7\xFC", 0x005C48}, {"\xC7\xFD", 0x009A71}, 
{"\xC7\xFE", 0x006E20}, {"\xC8\x40", 0x0083EE}, {"\xC8\x41", 0x0083EF}, {"\xC8\x42", 0x0083F3}, 
{"\xC8\x43", 0x0083F4}, {"\xC8\x44", 0x0083F5}, {"\xC8\x45", 0x0083F6}, {"\xC8\x46", 0x0083F7}, 
{"\xC8\x47", 0x0083FA}, {"\xC8\x48", 0x0083FB}, {"\xC8\x49", 0x0083FC}, {"\xC8\x4A", 0x0083FE}, 
{"\xC8\x4B", 0x0083FF}, {"\xC8\x4C", 0x008400}, {"\xC8\x4D", 0x008402}, {"\xC8\x4E", 0x008405}, 
{"\xC8\x4F", 0x008407}, {"\xC8\x50", 0x008408}, {"\xC8\x51", 0x008409}, {"\xC8\x52", 0x00840A}, 
{"\xC8\x53", 0x008410}, {"\xC8\x54", 0x008412}, {"\xC8\x55", 0x008413}, {"\xC8\x56", 0x008414}, 
{"\xC8\x57", 0x008415}, {"\xC8\x58", 0x008416}, {"\xC8\x59", 0x008417}, {"\xC8\x5A", 0x008419}, 
{"\xC8\x5B", 0x00841A}, {"\xC8\x5C", 0x00841B}, {"\xC8\x5D", 0x00841E}, {"\xC8\x5E", 0x00841F}, 
{"\xC8\x5F", 0x008420}, {"\xC8\x60", 0x008421}, {"\xC8\x61", 0x008422}, {"\xC8\x62", 0x008423}, 
{"\xC8\x63", 0x008429}, {"\xC8\x64", 0x00842A}, {"\xC8\x65", 0x00842B}, {"\xC8\x66", 0x00842C}, 
{"\xC8\x67", 0x00842D}, {"\xC8\x68", 0x00842E}, {"\xC8\x69", 0x00842F}, {"\xC8\x6A", 0x008430}, 
{"\xC8\x6B", 0x008432}, {"\xC8\x6C", 0x008433}, {"\xC8\x6D", 0x008434}, {"\xC8\x6E", 0x008435}, 
{"\xC8\x6F", 0x008436}, {"\xC8\x70", 0x008437}, {"\xC8\x71", 0x008439}, {"\xC8\x72", 0x00843A}, 
{"\xC8\x73", 0x00843B}, {"\xC8\x74", 0x00843E}, {"\xC8\x75", 0x00843F}, {"\xC8\x76", 0x008440}, 
{"\xC8\x77", 0x008441}, {"\xC8\x78", 0x008442}, {"\xC8\x79", 0x008443}, {"\xC8\x7A", 0x008444}, 
{"\xC8\x7B", 0x008445}, {"\xC8\x7C", 0x008447}, {"\xC8\x7D", 0x008448}, {"\xC8\x7E", 0x008449}, 
{"\xC8\x80", 0x00844A}, {"\xC8\x81", 0x00844B}, {"\xC8\x82", 0x00844C}, {"\xC8\x83", 0x00844D}, 
{"\xC8\x84", 0x00844E}, {"\xC8\x85", 0x00844F}, {"\xC8\x86", 0x008450}, {"\xC8\x87", 0x008452}, 
{"\xC8\x88", 0x008453}, {"\xC8\x89", 0x008454}, {"\xC8\x8A", 0x008455}, {"\xC8\x8B", 0x008456}, 
{"\xC8\x8C", 0x008458}, {"\xC8\x8D", 0x00845D}, {"\xC8\x8E", 0x00845E}, {"\xC8\x8F", 0x00845F}, 
{"\xC8\x90", 0x008460}, {"\xC8\x91", 0x008462}, {"\xC8\x92", 0x008464}, {"\xC8\x93", 0x008465}, 
{"\xC8\x94", 0x008466}, {"\xC8\x95", 0x008467}, {"\xC8\x96", 0x008468}, {"\xC8\x97", 0x00846A}, 
{"\xC8\x98", 0x00846E}, {"\xC8\x99", 0x00846F}, {"\xC8\x9A", 0x008470}, {"\xC8\x9B", 0x008472}, 
{"\xC8\x9C", 0x008474}, {"\xC8\x9D", 0x008477}, {"\xC8\x9E", 0x008479}, {"\xC8\x9F", 0x00847B}, 
{"\xC8\xA0", 0x00847C}, {"\xC8\xA1", 0x0053D6}, {"\xC8\xA2", 0x005A36}, {"\xC8\xA3", 0x009F8B}, 
{"\xC8\xA4", 0x008DA3}, {"\xC8\xA5", 0x0053BB}, {"\xC8\xA6", 0x005708}, {"\xC8\xA7", 0x0098A7}, 
{"\xC8\xA8", 0x006743}, {"\xC8\xA9", 0x00919B}, {"\xC8\xAA", 0x006CC9}, {"\xC8\xAB", 0x005168}, 
{"\xC8\xAC", 0x0075CA}, {"\xC8\xAD", 0x0062F3}, {"\xC8\xAE", 0x0072AC}, {"\xC8\xAF", 0x005238}, 
{"\xC8\xB0", 0x00529D}, {"\xC8\xB1", 0x007F3A}, {"\xC8\xB2", 0x007094}, {"\xC8\xB3", 0x007638}, 
{"\xC8\xB4", 0x005374}, {"\xC8\xB5", 0x009E4A}, {"\xC8\xB6", 0x0069B7}, {"\xC8\xB7", 0x00786E}, 
{"\xC8\xB8", 0x0096C0}, {"\xC8\xB9", 0x0088D9}, {"\xC8\xBA", 0x007FA4}, {"\xC8\xBB", 0x007136}, 
{"\xC8\xBC", 0x0071C3}, {"\xC8\xBD", 0x005189}, {"\xC8\xBE", 0x0067D3}, {"\xC8\xBF", 0x0074E4}, 
{"\xC8\xC0", 0x0058E4}, {"\xC8\xC1", 0x006518}, {"\xC8\xC2", 0x0056B7}, {"\xC8\xC3", 0x008BA9}, 
{"\xC8\xC4", 0x009976}, {"\xC8\xC5", 0x006270}, {"\xC8\xC6", 0x007ED5}, {"\xC8\xC7", 0x0060F9}, 
{"\xC8\xC8", 0x0070ED}, {"\xC8\xC9", 0x0058EC}, {"\xC8\xCA", 0x004EC1}, {"\xC8\xCB", 0x004EBA}, 
{"\xC8\xCC", 0x005FCD}, {"\xC8\xCD", 0x0097E7}, {"\xC8\xCE", 0x004EFB}, {"\xC8\xCF", 0x008BA4}, 
{"\xC8\xD0", 0x005203}, {"\xC8\xD1", 0x00598A}, {"\xC8\xD2", 0x007EAB}, {"\xC8\xD3", 0x006254}, 
{"\xC8\xD4", 0x004ECD}, {"\xC8\xD5", 0x0065E5}, {"\xC8\xD6", 0x00620E}, {"\xC8\xD7", 0x008338}, 
{"\xC8\xD8", 0x0084C9}, {"\xC8\xD9", 0x008363}, {"\xC8\xDA", 0x00878D}, {"\xC8\xDB", 0x007194}, 
{"\xC8\xDC", 0x006EB6}, {"\xC8\xDD", 0x005BB9}, {"\xC8\xDE", 0x007ED2}, {"\xC8\xDF", 0x005197}, 
{"\xC8\xE0", 0x0063C9}, {"\xC8\xE1", 0x0067D4}, {"\xC8\xE2", 0x008089}, {"\xC8\xE3", 0x008339}, 
{"\xC8\xE4", 0x008815}, {"\xC8\xE5", 0x005112}, {"\xC8\xE6", 0x005B7A}, {"\xC8\xE7", 0x005982}, 
{"\xC8\xE8", 0x008FB1}, {"\xC8\xE9", 0x004E73}, {"\xC8\xEA", 0x006C5D}, {"\xC8\xEB", 0x005165}, 
{"\xC8\xEC", 0x008925}, {"\xC8\xED", 0x008F6F}, {"\xC8\xEE", 0x00962E}, {"\xC8\xEF", 0x00854A}, 
{"\xC8\xF0", 0x00745E}, {"\xC8\xF1", 0x009510}, {"\xC8\xF2", 0x0095F0}, {"\xC8\xF3", 0x006DA6}, 
{"\xC8\xF4", 0x0082E5}, {"\xC8\xF5", 0x005F31}, {"\xC8\xF6", 0x006492}, {"\xC8\xF7", 0x006D12}, 
{"\xC8\xF8", 0x008428}, {"\xC8\xF9", 0x00816E}, {"\xC8\xFA", 0x009CC3}, {"\xC8\xFB", 0x00585E}, 
{"\xC8\xFC", 0x008D5B}, {"\xC8\xFD", 0x004E09}, {"\xC8\xFE", 0x0053C1}, {"\xC9\x40", 0x00847D}, 
{"\xC9\x41", 0x00847E}, {"\xC9\x42", 0x00847F}, {"\xC9\x43", 0x008480}, {"\xC9\x44", 0x008481}, 
{"\xC9\x45", 0x008483}, {"\xC9\x46", 0x008484}, {"\xC9\x47", 0x008485}, {"\xC9\x48", 0x008486}, 
{"\xC9\x49", 0x00848A}, {"\xC9\x4A", 0x00848D}, {"\xC9\x4B", 0x00848F}, {"\xC9\x4C", 0x008490}, 
{"\xC9\x4D", 0x008491}, {"\xC9\x4E", 0x008492}, {"\xC9\x4F", 0x008493}, {"\xC9\x50", 0x008494}, 

};
 for(size_t i=1; i<sizeof(db2bmp_35_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_35_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_36_gb18030_init()
{
static MB2UData db2bmp_36_gb18030 [] = { {"", 0}, 
{"\xC9\x51", 0x008495}, {"\xC9\x52", 0x008496}, {"\xC9\x53", 0x008498}, {"\xC9\x54", 0x00849A}, 
{"\xC9\x55", 0x00849B}, {"\xC9\x56", 0x00849D}, {"\xC9\x57", 0x00849E}, {"\xC9\x58", 0x00849F}, 
{"\xC9\x59", 0x0084A0}, {"\xC9\x5A", 0x0084A2}, {"\xC9\x5B", 0x0084A3}, {"\xC9\x5C", 0x0084A4}, 
{"\xC9\x5D", 0x0084A5}, {"\xC9\x5E", 0x0084A6}, {"\xC9\x5F", 0x0084A7}, {"\xC9\x60", 0x0084A8}, 
{"\xC9\x61", 0x0084A9}, {"\xC9\x62", 0x0084AA}, {"\xC9\x63", 0x0084AB}, {"\xC9\x64", 0x0084AC}, 
{"\xC9\x65", 0x0084AD}, {"\xC9\x66", 0x0084AE}, {"\xC9\x67", 0x0084B0}, {"\xC9\x68", 0x0084B1}, 
{"\xC9\x69", 0x0084B3}, {"\xC9\x6A", 0x0084B5}, {"\xC9\x6B", 0x0084B6}, {"\xC9\x6C", 0x0084B7}, 
{"\xC9\x6D", 0x0084BB}, {"\xC9\x6E", 0x0084BC}, {"\xC9\x6F", 0x0084BE}, {"\xC9\x70", 0x0084C0}, 
{"\xC9\x71", 0x0084C2}, {"\xC9\x72", 0x0084C3}, {"\xC9\x73", 0x0084C5}, {"\xC9\x74", 0x0084C6}, 
{"\xC9\x75", 0x0084C7}, {"\xC9\x76", 0x0084C8}, {"\xC9\x77", 0x0084CB}, {"\xC9\x78", 0x0084CC}, 
{"\xC9\x79", 0x0084CE}, {"\xC9\x7A", 0x0084CF}, {"\xC9\x7B", 0x0084D2}, {"\xC9\x7C", 0x0084D4}, 
{"\xC9\x7D", 0x0084D5}, {"\xC9\x7E", 0x0084D7}, {"\xC9\x80", 0x0084D8}, {"\xC9\x81", 0x0084D9}, 
{"\xC9\x82", 0x0084DA}, {"\xC9\x83", 0x0084DB}, {"\xC9\x84", 0x0084DC}, {"\xC9\x85", 0x0084DE}, 
{"\xC9\x86", 0x0084E1}, {"\xC9\x87", 0x0084E2}, {"\xC9\x88", 0x0084E4}, {"\xC9\x89", 0x0084E7}, 
{"\xC9\x8A", 0x0084E8}, {"\xC9\x8B", 0x0084E9}, {"\xC9\x8C", 0x0084EA}, {"\xC9\x8D", 0x0084EB}, 
{"\xC9\x8E", 0x0084ED}, {"\xC9\x8F", 0x0084EE}, {"\xC9\x90", 0x0084EF}, {"\xC9\x91", 0x0084F1}, 
{"\xC9\x92", 0x0084F2}, {"\xC9\x93", 0x0084F3}, {"\xC9\x94", 0x0084F4}, {"\xC9\x95", 0x0084F5}, 
{"\xC9\x96", 0x0084F6}, {"\xC9\x97", 0x0084F7}, {"\xC9\x98", 0x0084F8}, {"\xC9\x99", 0x0084F9}, 
{"\xC9\x9A", 0x0084FA}, {"\xC9\x9B", 0x0084FB}, {"\xC9\x9C", 0x0084FD}, {"\xC9\x9D", 0x0084FE}, 
{"\xC9\x9E", 0x008500}, {"\xC9\x9F", 0x008501}, {"\xC9\xA0", 0x008502}, {"\xC9\xA1", 0x004F1E}, 
{"\xC9\xA2", 0x006563}, {"\xC9\xA3", 0x006851}, {"\xC9\xA4", 0x0055D3}, {"\xC9\xA5", 0x004E27}, 
{"\xC9\xA6", 0x006414}, {"\xC9\xA7", 0x009A9A}, {"\xC9\xA8", 0x00626B}, {"\xC9\xA9", 0x005AC2}, 
{"\xC9\xAA", 0x00745F}, {"\xC9\xAB", 0x008272}, {"\xC9\xAC", 0x006DA9}, {"\xC9\xAD", 0x0068EE}, 
{"\xC9\xAE", 0x0050E7}, {"\xC9\xAF", 0x00838E}, {"\xC9\xB0", 0x007802}, {"\xC9\xB1", 0x006740}, 
{"\xC9\xB2", 0x005239}, {"\xC9\xB3", 0x006C99}, {"\xC9\xB4", 0x007EB1}, {"\xC9\xB5", 0x0050BB}, 
{"\xC9\xB6", 0x005565}, {"\xC9\xB7", 0x00715E}, {"\xC9\xB8", 0x007B5B}, {"\xC9\xB9", 0x006652}, 
{"\xC9\xBA", 0x0073CA}, {"\xC9\xBB", 0x0082EB}, {"\xC9\xBC", 0x006749}, {"\xC9\xBD", 0x005C71}, 
{"\xC9\xBE", 0x005220}, {"\xC9\xBF", 0x00717D}, {"\xC9\xC0", 0x00886B}, {"\xC9\xC1", 0x0095EA}, 
{"\xC9\xC2", 0x009655}, {"\xC9\xC3", 0x0064C5}, {"\xC9\xC4", 0x008D61}, {"\xC9\xC5", 0x0081B3}, 
{"\xC9\xC6", 0x005584}, {"\xC9\xC7", 0x006C55}, {"\xC9\xC8", 0x006247}, {"\xC9\xC9", 0x007F2E}, 
{"\xC9\xCA", 0x005892}, {"\xC9\xCB", 0x004F24}, {"\xC9\xCC", 0x005546}, {"\xC9\xCD", 0x008D4F}, 
{"\xC9\xCE", 0x00664C}, {"\xC9\xCF", 0x004E0A}, {"\xC9\xD0", 0x005C1A}, {"\xC9\xD1", 0x0088F3}, 
{"\xC9\xD2", 0x0068A2}, {"\xC9\xD3", 0x00634E}, {"\xC9\xD4", 0x007A0D}, {"\xC9\xD5", 0x0070E7}, 
{"\xC9\xD6", 0x00828D}, {"\xC9\xD7", 0x0052FA}, {"\xC9\xD8", 0x0097F6}, {"\xC9\xD9", 0x005C11}, 
{"\xC9\xDA", 0x0054E8}, {"\xC9\xDB", 0x0090B5}, {"\xC9\xDC", 0x007ECD}, {"\xC9\xDD", 0x005962}, 
{"\xC9\xDE", 0x008D4A}, {"\xC9\xDF", 0x0086C7}, {"\xC9\xE0", 0x00820C}, {"\xC9\xE1", 0x00820D}, 
{"\xC9\xE2", 0x008D66}, {"\xC9\xE3", 0x006444}, {"\xC9\xE4", 0x005C04}, {"\xC9\xE5", 0x006151}, 
{"\xC9\xE6", 0x006D89}, {"\xC9\xE7", 0x00793E}, {"\xC9\xE8", 0x008BBE}, {"\xC9\xE9", 0x007837}, 
{"\xC9\xEA", 0x007533}, {"\xC9\xEB", 0x00547B}, {"\xC9\xEC", 0x004F38}, {"\xC9\xED", 0x008EAB}, 
{"\xC9\xEE", 0x006DF1}, {"\xC9\xEF", 0x005A20}, {"\xC9\xF0", 0x007EC5}, {"\xC9\xF1", 0x00795E}, 
{"\xC9\xF2", 0x006C88}, {"\xC9\xF3", 0x005BA1}, {"\xC9\xF4", 0x005A76}, {"\xC9\xF5", 0x00751A}, 
{"\xC9\xF6", 0x0080BE}, {"\xC9\xF7", 0x00614E}, {"\xC9\xF8", 0x006E17}, {"\xC9\xF9", 0x0058F0}, 
{"\xC9\xFA", 0x00751F}, {"\xC9\xFB", 0x007525}, {"\xC9\xFC", 0x007272}, {"\xC9\xFD", 0x005347}, 
{"\xC9\xFE", 0x007EF3}, {"\xCA\x40", 0x008503}, {"\xCA\x41", 0x008504}, {"\xCA\x42", 0x008505}, 
{"\xCA\x43", 0x008506}, {"\xCA\x44", 0x008507}, {"\xCA\x45", 0x008508}, {"\xCA\x46", 0x008509}, 
{"\xCA\x47", 0x00850A}, {"\xCA\x48", 0x00850B}, {"\xCA\x49", 0x00850D}, {"\xCA\x4A", 0x00850E}, 
{"\xCA\x4B", 0x00850F}, {"\xCA\x4C", 0x008510}, {"\xCA\x4D", 0x008512}, {"\xCA\x4E", 0x008514}, 
{"\xCA\x4F", 0x008515}, {"\xCA\x50", 0x008516}, {"\xCA\x51", 0x008518}, {"\xCA\x52", 0x008519}, 
{"\xCA\x53", 0x00851B}, {"\xCA\x54", 0x00851C}, {"\xCA\x55", 0x00851D}, {"\xCA\x56", 0x00851E}, 
{"\xCA\x57", 0x008520}, {"\xCA\x58", 0x008522}, {"\xCA\x59", 0x008523}, {"\xCA\x5A", 0x008524}, 
{"\xCA\x5B", 0x008525}, {"\xCA\x5C", 0x008526}, {"\xCA\x5D", 0x008527}, {"\xCA\x5E", 0x008528}, 
{"\xCA\x5F", 0x008529}, {"\xCA\x60", 0x00852A}, {"\xCA\x61", 0x00852D}, {"\xCA\x62", 0x00852E}, 
{"\xCA\x63", 0x00852F}, {"\xCA\x64", 0x008530}, {"\xCA\x65", 0x008531}, {"\xCA\x66", 0x008532}, 
{"\xCA\x67", 0x008533}, {"\xCA\x68", 0x008534}, {"\xCA\x69", 0x008535}, {"\xCA\x6A", 0x008536}, 
{"\xCA\x6B", 0x00853E}, {"\xCA\x6C", 0x00853F}, {"\xCA\x6D", 0x008540}, {"\xCA\x6E", 0x008541}, 
{"\xCA\x6F", 0x008542}, {"\xCA\x70", 0x008544}, {"\xCA\x71", 0x008545}, {"\xCA\x72", 0x008546}, 
{"\xCA\x73", 0x008547}, {"\xCA\x74", 0x00854B}, {"\xCA\x75", 0x00854C}, {"\xCA\x76", 0x00854D}, 
{"\xCA\x77", 0x00854E}, {"\xCA\x78", 0x00854F}, {"\xCA\x79", 0x008550}, {"\xCA\x7A", 0x008551}, 
{"\xCA\x7B", 0x008552}, {"\xCA\x7C", 0x008553}, {"\xCA\x7D", 0x008554}, {"\xCA\x7E", 0x008555}, 
{"\xCA\x80", 0x008557}, {"\xCA\x81", 0x008558}, {"\xCA\x82", 0x00855A}, {"\xCA\x83", 0x00855B}, 
{"\xCA\x84", 0x00855C}, {"\xCA\x85", 0x00855D}, {"\xCA\x86", 0x00855F}, {"\xCA\x87", 0x008560}, 
{"\xCA\x88", 0x008561}, {"\xCA\x89", 0x008562}, {"\xCA\x8A", 0x008563}, {"\xCA\x8B", 0x008565}, 
{"\xCA\x8C", 0x008566}, {"\xCA\x8D", 0x008567}, {"\xCA\x8E", 0x008569}, {"\xCA\x8F", 0x00856A}, 
{"\xCA\x90", 0x00856B}, {"\xCA\x91", 0x00856C}, {"\xCA\x92", 0x00856D}, {"\xCA\x93", 0x00856E}, 

};
 for(size_t i=1; i<sizeof(db2bmp_36_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_36_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_37_gb18030_init()
{
static MB2UData db2bmp_37_gb18030 [] = { {"", 0}, 
{"\xCA\x94", 0x00856F}, {"\xCA\x95", 0x008570}, {"\xCA\x96", 0x008571}, {"\xCA\x97", 0x008573}, 
{"\xCA\x98", 0x008575}, {"\xCA\x99", 0x008576}, {"\xCA\x9A", 0x008577}, {"\xCA\x9B", 0x008578}, 
{"\xCA\x9C", 0x00857C}, {"\xCA\x9D", 0x00857D}, {"\xCA\x9E", 0x00857F}, {"\xCA\x9F", 0x008580}, 
{"\xCA\xA0", 0x008581}, {"\xCA\xA1", 0x007701}, {"\xCA\xA2", 0x0076DB}, {"\xCA\xA3", 0x005269}, 
{"\xCA\xA4", 0x0080DC}, {"\xCA\xA5", 0x005723}, {"\xCA\xA6", 0x005E08}, {"\xCA\xA7", 0x005931}, 
{"\xCA\xA8", 0x0072EE}, {"\xCA\xA9", 0x0065BD}, {"\xCA\xAA", 0x006E7F}, {"\xCA\xAB", 0x008BD7}, 
{"\xCA\xAC", 0x005C38}, {"\xCA\xAD", 0x008671}, {"\xCA\xAE", 0x005341}, {"\xCA\xAF", 0x0077F3}, 
{"\xCA\xB0", 0x0062FE}, {"\xCA\xB1", 0x0065F6}, {"\xCA\xB2", 0x004EC0}, {"\xCA\xB3", 0x0098DF}, 
{"\xCA\xB4", 0x008680}, {"\xCA\xB5", 0x005B9E}, {"\xCA\xB6", 0x008BC6}, {"\xCA\xB7", 0x0053F2}, 
{"\xCA\xB8", 0x0077E2}, {"\xCA\xB9", 0x004F7F}, {"\xCA\xBA", 0x005C4E}, {"\xCA\xBB", 0x009A76}, 
{"\xCA\xBC", 0x0059CB}, {"\xCA\xBD", 0x005F0F}, {"\xCA\xBE", 0x00793A}, {"\xCA\xBF", 0x0058EB}, 
{"\xCA\xC0", 0x004E16}, {"\xCA\xC1", 0x0067FF}, {"\xCA\xC2", 0x004E8B}, {"\xCA\xC3", 0x0062ED}, 
{"\xCA\xC4", 0x008A93}, {"\xCA\xC5", 0x00901D}, {"\xCA\xC6", 0x0052BF}, {"\xCA\xC7", 0x00662F}, 
{"\xCA\xC8", 0x0055DC}, {"\xCA\xC9", 0x00566C}, {"\xCA\xCA", 0x009002}, {"\xCA\xCB", 0x004ED5}, 
{"\xCA\xCC", 0x004F8D}, {"\xCA\xCD", 0x0091CA}, {"\xCA\xCE", 0x009970}, {"\xCA\xCF", 0x006C0F}, 
{"\xCA\xD0", 0x005E02}, {"\xCA\xD1", 0x006043}, {"\xCA\xD2", 0x005BA4}, {"\xCA\xD3", 0x0089C6}, 
{"\xCA\xD4", 0x008BD5}, {"\xCA\xD5", 0x006536}, {"\xCA\xD6", 0x00624B}, {"\xCA\xD7", 0x009996}, 
{"\xCA\xD8", 0x005B88}, {"\xCA\xD9", 0x005BFF}, {"\xCA\xDA", 0x006388}, {"\xCA\xDB", 0x00552E}, 
{"\xCA\xDC", 0x0053D7}, {"\xCA\xDD", 0x007626}, {"\xCA\xDE", 0x00517D}, {"\xCA\xDF", 0x00852C}, 
{"\xCA\xE0", 0x0067A2}, {"\xCA\xE1", 0x0068B3}, {"\xCA\xE2", 0x006B8A}, {"\xCA\xE3", 0x006292}, 
{"\xCA\xE4", 0x008F93}, {"\xCA\xE5", 0x0053D4}, {"\xCA\xE6", 0x008212}, {"\xCA\xE7", 0x006DD1}, 
{"\xCA\xE8", 0x00758F}, {"\xCA\xE9", 0x004E66}, {"\xCA\xEA", 0x008D4E}, {"\xCA\xEB", 0x005B70}, 
{"\xCA\xEC", 0x00719F}, {"\xCA\xED", 0x0085AF}, {"\xCA\xEE", 0x006691}, {"\xCA\xEF", 0x0066D9}, 
{"\xCA\xF0", 0x007F72}, {"\xCA\xF1", 0x008700}, {"\xCA\xF2", 0x009ECD}, {"\xCA\xF3", 0x009F20}, 
{"\xCA\xF4", 0x005C5E}, {"\xCA\xF5", 0x00672F}, {"\xCA\xF6", 0x008FF0}, {"\xCA\xF7", 0x006811}, 
{"\xCA\xF8", 0x00675F}, {"\xCA\xF9", 0x00620D}, {"\xCA\xFA", 0x007AD6}, {"\xCA\xFB", 0x005885}, 
{"\xCA\xFC", 0x005EB6}, {"\xCA\xFD", 0x006570}, {"\xCA\xFE", 0x006F31}, {"\xCB\x40", 0x008582}, 
{"\xCB\x41", 0x008583}, {"\xCB\x42", 0x008586}, {"\xCB\x43", 0x008588}, {"\xCB\x44", 0x008589}, 
{"\xCB\x45", 0x00858A}, {"\xCB\x46", 0x00858B}, {"\xCB\x47", 0x00858C}, {"\xCB\x48", 0x00858D}, 
{"\xCB\x49", 0x00858E}, {"\xCB\x4A", 0x008590}, {"\xCB\x4B", 0x008591}, {"\xCB\x4C", 0x008592}, 
{"\xCB\x4D", 0x008593}, {"\xCB\x4E", 0x008594}, {"\xCB\x4F", 0x008595}, {"\xCB\x50", 0x008596}, 
{"\xCB\x51", 0x008597}, {"\xCB\x52", 0x008598}, {"\xCB\x53", 0x008599}, {"\xCB\x54", 0x00859A}, 
{"\xCB\x55", 0x00859D}, {"\xCB\x56", 0x00859E}, {"\xCB\x57", 0x00859F}, {"\xCB\x58", 0x0085A0}, 
{"\xCB\x59", 0x0085A1}, {"\xCB\x5A", 0x0085A2}, {"\xCB\x5B", 0x0085A3}, {"\xCB\x5C", 0x0085A5}, 
{"\xCB\x5D", 0x0085A6}, {"\xCB\x5E", 0x0085A7}, {"\xCB\x5F", 0x0085A9}, {"\xCB\x60", 0x0085AB}, 
{"\xCB\x61", 0x0085AC}, {"\xCB\x62", 0x0085AD}, {"\xCB\x63", 0x0085B1}, {"\xCB\x64", 0x0085B2}, 
{"\xCB\x65", 0x0085B3}, {"\xCB\x66", 0x0085B4}, {"\xCB\x67", 0x0085B5}, {"\xCB\x68", 0x0085B6}, 
{"\xCB\x69", 0x0085B8}, {"\xCB\x6A", 0x0085BA}, {"\xCB\x6B", 0x0085BB}, {"\xCB\x6C", 0x0085BC}, 
{"\xCB\x6D", 0x0085BD}, {"\xCB\x6E", 0x0085BE}, {"\xCB\x6F", 0x0085BF}, {"\xCB\x70", 0x0085C0}, 
{"\xCB\x71", 0x0085C2}, {"\xCB\x72", 0x0085C3}, {"\xCB\x73", 0x0085C4}, {"\xCB\x74", 0x0085C5}, 
{"\xCB\x75", 0x0085C6}, {"\xCB\x76", 0x0085C7}, {"\xCB\x77", 0x0085C8}, {"\xCB\x78", 0x0085CA}, 
{"\xCB\x79", 0x0085CB}, {"\xCB\x7A", 0x0085CC}, {"\xCB\x7B", 0x0085CD}, {"\xCB\x7C", 0x0085CE}, 
{"\xCB\x7D", 0x0085D1}, {"\xCB\x7E", 0x0085D2}, {"\xCB\x80", 0x0085D4}, {"\xCB\x81", 0x0085D6}, 
{"\xCB\x82", 0x0085D7}, {"\xCB\x83", 0x0085D8}, {"\xCB\x84", 0x0085D9}, {"\xCB\x85", 0x0085DA}, 
{"\xCB\x86", 0x0085DB}, {"\xCB\x87", 0x0085DD}, {"\xCB\x88", 0x0085DE}, {"\xCB\x89", 0x0085DF}, 
{"\xCB\x8A", 0x0085E0}, {"\xCB\x8B", 0x0085E1}, {"\xCB\x8C", 0x0085E2}, {"\xCB\x8D", 0x0085E3}, 
{"\xCB\x8E", 0x0085E5}, {"\xCB\x8F", 0x0085E6}, {"\xCB\x90", 0x0085E7}, {"\xCB\x91", 0x0085E8}, 
{"\xCB\x92", 0x0085EA}, {"\xCB\x93", 0x0085EB}, {"\xCB\x94", 0x0085EC}, {"\xCB\x95", 0x0085ED}, 
{"\xCB\x96", 0x0085EE}, {"\xCB\x97", 0x0085EF}, {"\xCB\x98", 0x0085F0}, {"\xCB\x99", 0x0085F1}, 
{"\xCB\x9A", 0x0085F2}, {"\xCB\x9B", 0x0085F3}, {"\xCB\x9C", 0x0085F4}, {"\xCB\x9D", 0x0085F5}, 
{"\xCB\x9E", 0x0085F6}, {"\xCB\x9F", 0x0085F7}, {"\xCB\xA0", 0x0085F8}, {"\xCB\xA1", 0x006055}, 
{"\xCB\xA2", 0x005237}, {"\xCB\xA3", 0x00800D}, {"\xCB\xA4", 0x006454}, {"\xCB\xA5", 0x008870}, 
{"\xCB\xA6", 0x007529}, {"\xCB\xA7", 0x005E05}, {"\xCB\xA8", 0x006813}, {"\xCB\xA9", 0x0062F4}, 
{"\xCB\xAA", 0x00971C}, {"\xCB\xAB", 0x0053CC}, {"\xCB\xAC", 0x00723D}, {"\xCB\xAD", 0x008C01}, 
{"\xCB\xAE", 0x006C34}, {"\xCB\xAF", 0x007761}, {"\xCB\xB0", 0x007A0E}, {"\xCB\xB1", 0x00542E}, 
{"\xCB\xB2", 0x0077AC}, {"\xCB\xB3", 0x00987A}, {"\xCB\xB4", 0x00821C}, {"\xCB\xB5", 0x008BF4}, 
{"\xCB\xB6", 0x007855}, {"\xCB\xB7", 0x006714}, {"\xCB\xB8", 0x0070C1}, {"\xCB\xB9", 0x0065AF}, 
{"\xCB\xBA", 0x006495}, {"\xCB\xBB", 0x005636}, {"\xCB\xBC", 0x00601D}, {"\xCB\xBD", 0x0079C1}, 
{"\xCB\xBE", 0x0053F8}, {"\xCB\xBF", 0x004E1D}, {"\xCB\xC0", 0x006B7B}, {"\xCB\xC1", 0x008086}, 
{"\xCB\xC2", 0x005BFA}, {"\xCB\xC3", 0x0055E3}, {"\xCB\xC4", 0x0056DB}, {"\xCB\xC5", 0x004F3A}, 
{"\xCB\xC6", 0x004F3C}, {"\xCB\xC7", 0x009972}, {"\xCB\xC8", 0x005DF3}, {"\xCB\xC9", 0x00677E}, 
{"\xCB\xCA", 0x008038}, {"\xCB\xCB", 0x006002}, {"\xCB\xCC", 0x009882}, {"\xCB\xCD", 0x009001}, 
{"\xCB\xCE", 0x005B8B}, {"\xCB\xCF", 0x008BBC}, {"\xCB\xD0", 0x008BF5}, {"\xCB\xD1", 0x00641C}, 
{"\xCB\xD2", 0x008258}, {"\xCB\xD3", 0x0064DE}, {"\xCB\xD4", 0x0055FD}, {"\xCB\xD5", 0x0082CF}, 

};
 for(size_t i=1; i<sizeof(db2bmp_37_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_37_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_38_gb18030_init()
{
static MB2UData db2bmp_38_gb18030 [] = { {"", 0}, 
{"\xCB\xD6", 0x009165}, {"\xCB\xD7", 0x004FD7}, {"\xCB\xD8", 0x007D20}, {"\xCB\xD9", 0x00901F}, 
{"\xCB\xDA", 0x007C9F}, {"\xCB\xDB", 0x0050F3}, {"\xCB\xDC", 0x005851}, {"\xCB\xDD", 0x006EAF}, 
{"\xCB\xDE", 0x005BBF}, {"\xCB\xDF", 0x008BC9}, {"\xCB\xE0", 0x008083}, {"\xCB\xE1", 0x009178}, 
{"\xCB\xE2", 0x00849C}, {"\xCB\xE3", 0x007B97}, {"\xCB\xE4", 0x00867D}, {"\xCB\xE5", 0x00968B}, 
{"\xCB\xE6", 0x00968F}, {"\xCB\xE7", 0x007EE5}, {"\xCB\xE8", 0x009AD3}, {"\xCB\xE9", 0x00788E}, 
{"\xCB\xEA", 0x005C81}, {"\xCB\xEB", 0x007A57}, {"\xCB\xEC", 0x009042}, {"\xCB\xED", 0x0096A7}, 
{"\xCB\xEE", 0x00795F}, {"\xCB\xEF", 0x005B59}, {"\xCB\xF0", 0x00635F}, {"\xCB\xF1", 0x007B0B}, 
{"\xCB\xF2", 0x0084D1}, {"\xCB\xF3", 0x0068AD}, {"\xCB\xF4", 0x005506}, {"\xCB\xF5", 0x007F29}, 
{"\xCB\xF6", 0x007410}, {"\xCB\xF7", 0x007D22}, {"\xCB\xF8", 0x009501}, {"\xCB\xF9", 0x006240}, 
{"\xCB\xFA", 0x00584C}, {"\xCB\xFB", 0x004ED6}, {"\xCB\xFC", 0x005B83}, {"\xCB\xFD", 0x005979}, 
{"\xCB\xFE", 0x005854}, {"\xCC\x40", 0x0085F9}, {"\xCC\x41", 0x0085FA}, {"\xCC\x42", 0x0085FC}, 
{"\xCC\x43", 0x0085FD}, {"\xCC\x44", 0x0085FE}, {"\xCC\x45", 0x008600}, {"\xCC\x46", 0x008601}, 
{"\xCC\x47", 0x008602}, {"\xCC\x48", 0x008603}, {"\xCC\x49", 0x008604}, {"\xCC\x4A", 0x008606}, 
{"\xCC\x4B", 0x008607}, {"\xCC\x4C", 0x008608}, {"\xCC\x4D", 0x008609}, {"\xCC\x4E", 0x00860A}, 
{"\xCC\x4F", 0x00860B}, {"\xCC\x50", 0x00860C}, {"\xCC\x51", 0x00860D}, {"\xCC\x52", 0x00860E}, 
{"\xCC\x53", 0x00860F}, {"\xCC\x54", 0x008610}, {"\xCC\x55", 0x008612}, {"\xCC\x56", 0x008613}, 
{"\xCC\x57", 0x008614}, {"\xCC\x58", 0x008615}, {"\xCC\x59", 0x008617}, {"\xCC\x5A", 0x008618}, 
{"\xCC\x5B", 0x008619}, {"\xCC\x5C", 0x00861A}, {"\xCC\x5D", 0x00861B}, {"\xCC\x5E", 0x00861C}, 
{"\xCC\x5F", 0x00861D}, {"\xCC\x60", 0x00861E}, {"\xCC\x61", 0x00861F}, {"\xCC\x62", 0x008620}, 
{"\xCC\x63", 0x008621}, {"\xCC\x64", 0x008622}, {"\xCC\x65", 0x008623}, {"\xCC\x66", 0x008624}, 
{"\xCC\x67", 0x008625}, {"\xCC\x68", 0x008626}, {"\xCC\x69", 0x008628}, {"\xCC\x6A", 0x00862A}, 
{"\xCC\x6B", 0x00862B}, {"\xCC\x6C", 0x00862C}, {"\xCC\x6D", 0x00862D}, {"\xCC\x6E", 0x00862E}, 
{"\xCC\x6F", 0x00862F}, {"\xCC\x70", 0x008630}, {"\xCC\x71", 0x008631}, {"\xCC\x72", 0x008632}, 
{"\xCC\x73", 0x008633}, {"\xCC\x74", 0x008634}, {"\xCC\x75", 0x008635}, {"\xCC\x76", 0x008636}, 
{"\xCC\x77", 0x008637}, {"\xCC\x78", 0x008639}, {"\xCC\x79", 0x00863A}, {"\xCC\x7A", 0x00863B}, 
{"\xCC\x7B", 0x00863D}, {"\xCC\x7C", 0x00863E}, {"\xCC\x7D", 0x00863F}, {"\xCC\x7E", 0x008640}, 
{"\xCC\x80", 0x008641}, {"\xCC\x81", 0x008642}, {"\xCC\x82", 0x008643}, {"\xCC\x83", 0x008644}, 
{"\xCC\x84", 0x008645}, {"\xCC\x85", 0x008646}, {"\xCC\x86", 0x008647}, {"\xCC\x87", 0x008648}, 
{"\xCC\x88", 0x008649}, {"\xCC\x89", 0x00864A}, {"\xCC\x8A", 0x00864B}, {"\xCC\x8B", 0x00864C}, 
{"\xCC\x8C", 0x008652}, {"\xCC\x8D", 0x008653}, {"\xCC\x8E", 0x008655}, {"\xCC\x8F", 0x008656}, 
{"\xCC\x90", 0x008657}, {"\xCC\x91", 0x008658}, {"\xCC\x92", 0x008659}, {"\xCC\x93", 0x00865B}, 
{"\xCC\x94", 0x00865C}, {"\xCC\x95", 0x00865D}, {"\xCC\x96", 0x00865F}, {"\xCC\x97", 0x008660}, 
{"\xCC\x98", 0x008661}, {"\xCC\x99", 0x008663}, {"\xCC\x9A", 0x008664}, {"\xCC\x9B", 0x008665}, 
{"\xCC\x9C", 0x008666}, {"\xCC\x9D", 0x008667}, {"\xCC\x9E", 0x008668}, {"\xCC\x9F", 0x008669}, 
{"\xCC\xA0", 0x00866A}, {"\xCC\xA1", 0x00736D}, {"\xCC\xA2", 0x00631E}, {"\xCC\xA3", 0x008E4B}, 
{"\xCC\xA4", 0x008E0F}, {"\xCC\xA5", 0x0080CE}, {"\xCC\xA6", 0x0082D4}, {"\xCC\xA7", 0x0062AC}, 
{"\xCC\xA8", 0x0053F0}, {"\xCC\xA9", 0x006CF0}, {"\xCC\xAA", 0x00915E}, {"\xCC\xAB", 0x00592A}, 
{"\xCC\xAC", 0x006001}, {"\xCC\xAD", 0x006C70}, {"\xCC\xAE", 0x00574D}, {"\xCC\xAF", 0x00644A}, 
{"\xCC\xB0", 0x008D2A}, {"\xCC\xB1", 0x00762B}, {"\xCC\xB2", 0x006EE9}, {"\xCC\xB3", 0x00575B}, 
{"\xCC\xB4", 0x006A80}, {"\xCC\xB5", 0x0075F0}, {"\xCC\xB6", 0x006F6D}, {"\xCC\xB7", 0x008C2D}, 
{"\xCC\xB8", 0x008C08}, {"\xCC\xB9", 0x005766}, {"\xCC\xBA", 0x006BEF}, {"\xCC\xBB", 0x008892}, 
{"\xCC\xBC", 0x0078B3}, {"\xCC\xBD", 0x0063A2}, {"\xCC\xBE", 0x0053F9}, {"\xCC\xBF", 0x0070AD}, 
{"\xCC\xC0", 0x006C64}, {"\xCC\xC1", 0x005858}, {"\xCC\xC2", 0x00642A}, {"\xCC\xC3", 0x005802}, 
{"\xCC\xC4", 0x0068E0}, {"\xCC\xC5", 0x00819B}, {"\xCC\xC6", 0x005510}, {"\xCC\xC7", 0x007CD6}, 
{"\xCC\xC8", 0x005018}, {"\xCC\xC9", 0x008EBA}, {"\xCC\xCA", 0x006DCC}, {"\xCC\xCB", 0x008D9F}, 
{"\xCC\xCC", 0x0070EB}, {"\xCC\xCD", 0x00638F}, {"\xCC\xCE", 0x006D9B}, {"\xCC\xCF", 0x006ED4}, 
{"\xCC\xD0", 0x007EE6}, {"\xCC\xD1", 0x008404}, {"\xCC\xD2", 0x006843}, {"\xCC\xD3", 0x009003}, 
{"\xCC\xD4", 0x006DD8}, {"\xCC\xD5", 0x009676}, {"\xCC\xD6", 0x008BA8}, {"\xCC\xD7", 0x005957}, 
{"\xCC\xD8", 0x007279}, {"\xCC\xD9", 0x0085E4}, {"\xCC\xDA", 0x00817E}, {"\xCC\xDB", 0x0075BC}, 
{"\xCC\xDC", 0x008A8A}, {"\xCC\xDD", 0x0068AF}, {"\xCC\xDE", 0x005254}, {"\xCC\xDF", 0x008E22}, 
{"\xCC\xE0", 0x009511}, {"\xCC\xE1", 0x0063D0}, {"\xCC\xE2", 0x009898}, {"\xCC\xE3", 0x008E44}, 
{"\xCC\xE4", 0x00557C}, {"\xCC\xE5", 0x004F53}, {"\xCC\xE6", 0x0066FF}, {"\xCC\xE7", 0x00568F}, 
{"\xCC\xE8", 0x0060D5}, {"\xCC\xE9", 0x006D95}, {"\xCC\xEA", 0x005243}, {"\xCC\xEB", 0x005C49}, 
{"\xCC\xEC", 0x005929}, {"\xCC\xED", 0x006DFB}, {"\xCC\xEE", 0x00586B}, {"\xCC\xEF", 0x007530}, 
{"\xCC\xF0", 0x00751C}, {"\xCC\xF1", 0x00606C}, {"\xCC\xF2", 0x008214}, {"\xCC\xF3", 0x008146}, 
{"\xCC\xF4", 0x006311}, {"\xCC\xF5", 0x006761}, {"\xCC\xF6", 0x008FE2}, {"\xCC\xF7", 0x00773A}, 
{"\xCC\xF8", 0x008DF3}, {"\xCC\xF9", 0x008D34}, {"\xCC\xFA", 0x0094C1}, {"\xCC\xFB", 0x005E16}, 
{"\xCC\xFC", 0x005385}, {"\xCC\xFD", 0x00542C}, {"\xCC\xFE", 0x0070C3}, {"\xCD\x40", 0x00866D}, 
{"\xCD\x41", 0x00866F}, {"\xCD\x42", 0x008670}, {"\xCD\x43", 0x008672}, {"\xCD\x44", 0x008673}, 
{"\xCD\x45", 0x008674}, {"\xCD\x46", 0x008675}, {"\xCD\x47", 0x008676}, {"\xCD\x48", 0x008677}, 
{"\xCD\x49", 0x008678}, {"\xCD\x4A", 0x008683}, {"\xCD\x4B", 0x008684}, {"\xCD\x4C", 0x008685}, 
{"\xCD\x4D", 0x008686}, {"\xCD\x4E", 0x008687}, {"\xCD\x4F", 0x008688}, {"\xCD\x50", 0x008689}, 
{"\xCD\x51", 0x00868E}, {"\xCD\x52", 0x00868F}, {"\xCD\x53", 0x008690}, {"\xCD\x54", 0x008691}, 
{"\xCD\x55", 0x008692}, {"\xCD\x56", 0x008694}, {"\xCD\x57", 0x008696}, {"\xCD\x58", 0x008697}, 

};
 for(size_t i=1; i<sizeof(db2bmp_38_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_38_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_39_gb18030_init()
{
static MB2UData db2bmp_39_gb18030 [] = { {"", 0}, 
{"\xCD\x59", 0x008698}, {"\xCD\x5A", 0x008699}, {"\xCD\x5B", 0x00869A}, {"\xCD\x5C", 0x00869B}, 
{"\xCD\x5D", 0x00869E}, {"\xCD\x5E", 0x00869F}, {"\xCD\x5F", 0x0086A0}, {"\xCD\x60", 0x0086A1}, 
{"\xCD\x61", 0x0086A2}, {"\xCD\x62", 0x0086A5}, {"\xCD\x63", 0x0086A6}, {"\xCD\x64", 0x0086AB}, 
{"\xCD\x65", 0x0086AD}, {"\xCD\x66", 0x0086AE}, {"\xCD\x67", 0x0086B2}, {"\xCD\x68", 0x0086B3}, 
{"\xCD\x69", 0x0086B7}, {"\xCD\x6A", 0x0086B8}, {"\xCD\x6B", 0x0086B9}, {"\xCD\x6C", 0x0086BB}, 
{"\xCD\x6D", 0x0086BC}, {"\xCD\x6E", 0x0086BD}, {"\xCD\x6F", 0x0086BE}, {"\xCD\x70", 0x0086BF}, 
{"\xCD\x71", 0x0086C1}, {"\xCD\x72", 0x0086C2}, {"\xCD\x73", 0x0086C3}, {"\xCD\x74", 0x0086C5}, 
{"\xCD\x75", 0x0086C8}, {"\xCD\x76", 0x0086CC}, {"\xCD\x77", 0x0086CD}, {"\xCD\x78", 0x0086D2}, 
{"\xCD\x79", 0x0086D3}, {"\xCD\x7A", 0x0086D5}, {"\xCD\x7B", 0x0086D6}, {"\xCD\x7C", 0x0086D7}, 
{"\xCD\x7D", 0x0086DA}, {"\xCD\x7E", 0x0086DC}, {"\xCD\x80", 0x0086DD}, {"\xCD\x81", 0x0086E0}, 
{"\xCD\x82", 0x0086E1}, {"\xCD\x83", 0x0086E2}, {"\xCD\x84", 0x0086E3}, {"\xCD\x85", 0x0086E5}, 
{"\xCD\x86", 0x0086E6}, {"\xCD\x87", 0x0086E7}, {"\xCD\x88", 0x0086E8}, {"\xCD\x89", 0x0086EA}, 
{"\xCD\x8A", 0x0086EB}, {"\xCD\x8B", 0x0086EC}, {"\xCD\x8C", 0x0086EF}, {"\xCD\x8D", 0x0086F5}, 
{"\xCD\x8E", 0x0086F6}, {"\xCD\x8F", 0x0086F7}, {"\xCD\x90", 0x0086FA}, {"\xCD\x91", 0x0086FB}, 
{"\xCD\x92", 0x0086FC}, {"\xCD\x93", 0x0086FD}, {"\xCD\x94", 0x0086FF}, {"\xCD\x95", 0x008701}, 
{"\xCD\x96", 0x008704}, {"\xCD\x97", 0x008705}, {"\xCD\x98", 0x008706}, {"\xCD\x99", 0x00870B}, 
{"\xCD\x9A", 0x00870C}, {"\xCD\x9B", 0x00870E}, {"\xCD\x9C", 0x00870F}, {"\xCD\x9D", 0x008710}, 
{"\xCD\x9E", 0x008711}, {"\xCD\x9F", 0x008714}, {"\xCD\xA0", 0x008716}, {"\xCD\xA1", 0x006C40}, 
{"\xCD\xA2", 0x005EF7}, {"\xCD\xA3", 0x00505C}, {"\xCD\xA4", 0x004EAD}, {"\xCD\xA5", 0x005EAD}, 
{"\xCD\xA6", 0x00633A}, {"\xCD\xA7", 0x008247}, {"\xCD\xA8", 0x00901A}, {"\xCD\xA9", 0x006850}, 
{"\xCD\xAA", 0x00916E}, {"\xCD\xAB", 0x0077B3}, {"\xCD\xAC", 0x00540C}, {"\xCD\xAD", 0x0094DC}, 
{"\xCD\xAE", 0x005F64}, {"\xCD\xAF", 0x007AE5}, {"\xCD\xB0", 0x006876}, {"\xCD\xB1", 0x006345}, 
{"\xCD\xB2", 0x007B52}, {"\xCD\xB3", 0x007EDF}, {"\xCD\xB4", 0x0075DB}, {"\xCD\xB5", 0x005077}, 
{"\xCD\xB6", 0x006295}, {"\xCD\xB7", 0x005934}, {"\xCD\xB8", 0x00900F}, {"\xCD\xB9", 0x0051F8}, 
{"\xCD\xBA", 0x0079C3}, {"\xCD\xBB", 0x007A81}, {"\xCD\xBC", 0x0056FE}, {"\xCD\xBD", 0x005F92}, 
{"\xCD\xBE", 0x009014}, {"\xCD\xBF", 0x006D82}, {"\xCD\xC0", 0x005C60}, {"\xCD\xC1", 0x00571F}, 
{"\xCD\xC2", 0x005410}, {"\xCD\xC3", 0x005154}, {"\xCD\xC4", 0x006E4D}, {"\xCD\xC5", 0x0056E2}, 
{"\xCD\xC6", 0x0063A8}, {"\xCD\xC7", 0x009893}, {"\xCD\xC8", 0x00817F}, {"\xCD\xC9", 0x008715}, 
{"\xCD\xCA", 0x00892A}, {"\xCD\xCB", 0x009000}, {"\xCD\xCC", 0x00541E}, {"\xCD\xCD", 0x005C6F}, 
{"\xCD\xCE", 0x0081C0}, {"\xCD\xCF", 0x0062D6}, {"\xCD\xD0", 0x006258}, {"\xCD\xD1", 0x008131}, 
{"\xCD\xD2", 0x009E35}, {"\xCD\xD3", 0x009640}, {"\xCD\xD4", 0x009A6E}, {"\xCD\xD5", 0x009A7C}, 
{"\xCD\xD6", 0x00692D}, {"\xCD\xD7", 0x0059A5}, {"\xCD\xD8", 0x0062D3}, {"\xCD\xD9", 0x00553E}, 
{"\xCD\xDA", 0x006316}, {"\xCD\xDB", 0x0054C7}, {"\xCD\xDC", 0x0086D9}, {"\xCD\xDD", 0x006D3C}, 
{"\xCD\xDE", 0x005A03}, {"\xCD\xDF", 0x0074E6}, {"\xCD\xE0", 0x00889C}, {"\xCD\xE1", 0x006B6A}, 
{"\xCD\xE2", 0x005916}, {"\xCD\xE3", 0x008C4C}, {"\xCD\xE4", 0x005F2F}, {"\xCD\xE5", 0x006E7E}, 
{"\xCD\xE6", 0x0073A9}, {"\xCD\xE7", 0x00987D}, {"\xCD\xE8", 0x004E38}, {"\xCD\xE9", 0x0070F7}, 
{"\xCD\xEA", 0x005B8C}, {"\xCD\xEB", 0x007897}, {"\xCD\xEC", 0x00633D}, {"\xCD\xED", 0x00665A}, 
{"\xCD\xEE", 0x007696}, {"\xCD\xEF", 0x0060CB}, {"\xCD\xF0", 0x005B9B}, {"\xCD\xF1", 0x005A49}, 
{"\xCD\xF2", 0x004E07}, {"\xCD\xF3", 0x008155}, {"\xCD\xF4", 0x006C6A}, {"\xCD\xF5", 0x00738B}, 
{"\xCD\xF6", 0x004EA1}, {"\xCD\xF7", 0x006789}, {"\xCD\xF8", 0x007F51}, {"\xCD\xF9", 0x005F80}, 
{"\xCD\xFA", 0x0065FA}, {"\xCD\xFB", 0x00671B}, {"\xCD\xFC", 0x005FD8}, {"\xCD\xFD", 0x005984}, 
{"\xCD\xFE", 0x005A01}, {"\xCE\x40", 0x008719}, {"\xCE\x41", 0x00871B}, {"\xCE\x42", 0x00871D}, 
{"\xCE\x43", 0x00871F}, {"\xCE\x44", 0x008720}, {"\xCE\x45", 0x008724}, {"\xCE\x46", 0x008726}, 
{"\xCE\x47", 0x008727}, {"\xCE\x48", 0x008728}, {"\xCE\x49", 0x00872A}, {"\xCE\x4A", 0x00872B}, 
{"\xCE\x4B", 0x00872C}, {"\xCE\x4C", 0x00872D}, {"\xCE\x4D", 0x00872F}, {"\xCE\x4E", 0x008730}, 
{"\xCE\x4F", 0x008732}, {"\xCE\x50", 0x008733}, {"\xCE\x51", 0x008735}, {"\xCE\x52", 0x008736}, 
{"\xCE\x53", 0x008738}, {"\xCE\x54", 0x008739}, {"\xCE\x55", 0x00873A}, {"\xCE\x56", 0x00873C}, 
{"\xCE\x57", 0x00873D}, {"\xCE\x58", 0x008740}, {"\xCE\x59", 0x008741}, {"\xCE\x5A", 0x008742}, 
{"\xCE\x5B", 0x008743}, {"\xCE\x5C", 0x008744}, {"\xCE\x5D", 0x008745}, {"\xCE\x5E", 0x008746}, 
{"\xCE\x5F", 0x00874A}, {"\xCE\x60", 0x00874B}, {"\xCE\x61", 0x00874D}, {"\xCE\x62", 0x00874F}, 
{"\xCE\x63", 0x008750}, {"\xCE\x64", 0x008751}, {"\xCE\x65", 0x008752}, {"\xCE\x66", 0x008754}, 
{"\xCE\x67", 0x008755}, {"\xCE\x68", 0x008756}, {"\xCE\x69", 0x008758}, {"\xCE\x6A", 0x00875A}, 
{"\xCE\x6B", 0x00875B}, {"\xCE\x6C", 0x00875C}, {"\xCE\x6D", 0x00875D}, {"\xCE\x6E", 0x00875E}, 
{"\xCE\x6F", 0x00875F}, {"\xCE\x70", 0x008761}, {"\xCE\x71", 0x008762}, {"\xCE\x72", 0x008766}, 
{"\xCE\x73", 0x008767}, {"\xCE\x74", 0x008768}, {"\xCE\x75", 0x008769}, {"\xCE\x76", 0x00876A}, 
{"\xCE\x77", 0x00876B}, {"\xCE\x78", 0x00876C}, {"\xCE\x79", 0x00876D}, {"\xCE\x7A", 0x00876F}, 
{"\xCE\x7B", 0x008771}, {"\xCE\x7C", 0x008772}, {"\xCE\x7D", 0x008773}, {"\xCE\x7E", 0x008775}, 
{"\xCE\x80", 0x008777}, {"\xCE\x81", 0x008778}, {"\xCE\x82", 0x008779}, {"\xCE\x83", 0x00877A}, 
{"\xCE\x84", 0x00877F}, {"\xCE\x85", 0x008780}, {"\xCE\x86", 0x008781}, {"\xCE\x87", 0x008784}, 
{"\xCE\x88", 0x008786}, {"\xCE\x89", 0x008787}, {"\xCE\x8A", 0x008789}, {"\xCE\x8B", 0x00878A}, 
{"\xCE\x8C", 0x00878C}, {"\xCE\x8D", 0x00878E}, {"\xCE\x8E", 0x00878F}, {"\xCE\x8F", 0x008790}, 
{"\xCE\x90", 0x008791}, {"\xCE\x91", 0x008792}, {"\xCE\x92", 0x008794}, {"\xCE\x93", 0x008795}, 
{"\xCE\x94", 0x008796}, {"\xCE\x95", 0x008798}, {"\xCE\x96", 0x008799}, {"\xCE\x97", 0x00879A}, 
{"\xCE\x98", 0x00879B}, {"\xCE\x99", 0x00879C}, {"\xCE\x9A", 0x00879D}, {"\xCE\x9B", 0x00879E}, 

};
 for(size_t i=1; i<sizeof(db2bmp_39_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_39_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_3a_gb18030_init()
{
static MB2UData db2bmp_3a_gb18030 [] = { {"", 0}, 
{"\xCE\x9C", 0x0087A0}, {"\xCE\x9D", 0x0087A1}, {"\xCE\x9E", 0x0087A2}, {"\xCE\x9F", 0x0087A3}, 
{"\xCE\xA0", 0x0087A4}, {"\xCE\xA1", 0x005DCD}, {"\xCE\xA2", 0x005FAE}, {"\xCE\xA3", 0x005371}, 
{"\xCE\xA4", 0x0097E6}, {"\xCE\xA5", 0x008FDD}, {"\xCE\xA6", 0x006845}, {"\xCE\xA7", 0x0056F4}, 
{"\xCE\xA8", 0x00552F}, {"\xCE\xA9", 0x0060DF}, {"\xCE\xAA", 0x004E3A}, {"\xCE\xAB", 0x006F4D}, 
{"\xCE\xAC", 0x007EF4}, {"\xCE\xAD", 0x0082C7}, {"\xCE\xAE", 0x00840E}, {"\xCE\xAF", 0x0059D4}, 
{"\xCE\xB0", 0x004F1F}, {"\xCE\xB1", 0x004F2A}, {"\xCE\xB2", 0x005C3E}, {"\xCE\xB3", 0x007EAC}, 
{"\xCE\xB4", 0x00672A}, {"\xCE\xB5", 0x00851A}, {"\xCE\xB6", 0x005473}, {"\xCE\xB7", 0x00754F}, 
{"\xCE\xB8", 0x0080C3}, {"\xCE\xB9", 0x005582}, {"\xCE\xBA", 0x009B4F}, {"\xCE\xBB", 0x004F4D}, 
{"\xCE\xBC", 0x006E2D}, {"\xCE\xBD", 0x008C13}, {"\xCE\xBE", 0x005C09}, {"\xCE\xBF", 0x006170}, 
{"\xCE\xC0", 0x00536B}, {"\xCE\xC1", 0x00761F}, {"\xCE\xC2", 0x006E29}, {"\xCE\xC3", 0x00868A}, 
{"\xCE\xC4", 0x006587}, {"\xCE\xC5", 0x0095FB}, {"\xCE\xC6", 0x007EB9}, {"\xCE\xC7", 0x00543B}, 
{"\xCE\xC8", 0x007A33}, {"\xCE\xC9", 0x007D0A}, {"\xCE\xCA", 0x0095EE}, {"\xCE\xCB", 0x0055E1}, 
{"\xCE\xCC", 0x007FC1}, {"\xCE\xCD", 0x0074EE}, {"\xCE\xCE", 0x00631D}, {"\xCE\xCF", 0x008717}, 
{"\xCE\xD0", 0x006DA1}, {"\xCE\xD1", 0x007A9D}, {"\xCE\xD2", 0x006211}, {"\xCE\xD3", 0x0065A1}, 
{"\xCE\xD4", 0x005367}, {"\xCE\xD5", 0x0063E1}, {"\xCE\xD6", 0x006C83}, {"\xCE\xD7", 0x005DEB}, 
{"\xCE\xD8", 0x00545C}, {"\xCE\xD9", 0x0094A8}, {"\xCE\xDA", 0x004E4C}, {"\xCE\xDB", 0x006C61}, 
{"\xCE\xDC", 0x008BEC}, {"\xCE\xDD", 0x005C4B}, {"\xCE\xDE", 0x0065E0}, {"\xCE\xDF", 0x00829C}, 
{"\xCE\xE0", 0x0068A7}, {"\xCE\xE1", 0x00543E}, {"\xCE\xE2", 0x005434}, {"\xCE\xE3", 0x006BCB}, 
{"\xCE\xE4", 0x006B66}, {"\xCE\xE5", 0x004E94}, {"\xCE\xE6", 0x006342}, {"\xCE\xE7", 0x005348}, 
{"\xCE\xE8", 0x00821E}, {"\xCE\xE9", 0x004F0D}, {"\xCE\xEA", 0x004FAE}, {"\xCE\xEB", 0x00575E}, 
{"\xCE\xEC", 0x00620A}, {"\xCE\xED", 0x0096FE}, {"\xCE\xEE", 0x006664}, {"\xCE\xEF", 0x007269}, 
{"\xCE\xF0", 0x0052FF}, {"\xCE\xF1", 0x0052A1}, {"\xCE\xF2", 0x00609F}, {"\xCE\xF3", 0x008BEF}, 
{"\xCE\xF4", 0x006614}, {"\xCE\xF5", 0x007199}, {"\xCE\xF6", 0x006790}, {"\xCE\xF7", 0x00897F}, 
{"\xCE\xF8", 0x007852}, {"\xCE\xF9", 0x0077FD}, {"\xCE\xFA", 0x006670}, {"\xCE\xFB", 0x00563B}, 
{"\xCE\xFC", 0x005438}, {"\xCE\xFD", 0x009521}, {"\xCE\xFE", 0x00727A}, {"\xCF\x40", 0x0087A5}, 
{"\xCF\x41", 0x0087A6}, {"\xCF\x42", 0x0087A7}, {"\xCF\x43", 0x0087A9}, {"\xCF\x44", 0x0087AA}, 
{"\xCF\x45", 0x0087AE}, {"\xCF\x46", 0x0087B0}, {"\xCF\x47", 0x0087B1}, {"\xCF\x48", 0x0087B2}, 
{"\xCF\x49", 0x0087B4}, {"\xCF\x4A", 0x0087B6}, {"\xCF\x4B", 0x0087B7}, {"\xCF\x4C", 0x0087B8}, 
{"\xCF\x4D", 0x0087B9}, {"\xCF\x4E", 0x0087BB}, {"\xCF\x4F", 0x0087BC}, {"\xCF\x50", 0x0087BE}, 
{"\xCF\x51", 0x0087BF}, {"\xCF\x52", 0x0087C1}, {"\xCF\x53", 0x0087C2}, {"\xCF\x54", 0x0087C3}, 
{"\xCF\x55", 0x0087C4}, {"\xCF\x56", 0x0087C5}, {"\xCF\x57", 0x0087C7}, {"\xCF\x58", 0x0087C8}, 
{"\xCF\x59", 0x0087C9}, {"\xCF\x5A", 0x0087CC}, {"\xCF\x5B", 0x0087CD}, {"\xCF\x5C", 0x0087CE}, 
{"\xCF\x5D", 0x0087CF}, {"\xCF\x5E", 0x0087D0}, {"\xCF\x5F", 0x0087D4}, {"\xCF\x60", 0x0087D5}, 
{"\xCF\x61", 0x0087D6}, {"\xCF\x62", 0x0087D7}, {"\xCF\x63", 0x0087D8}, {"\xCF\x64", 0x0087D9}, 
{"\xCF\x65", 0x0087DA}, {"\xCF\x66", 0x0087DC}, {"\xCF\x67", 0x0087DD}, {"\xCF\x68", 0x0087DE}, 
{"\xCF\x69", 0x0087DF}, {"\xCF\x6A", 0x0087E1}, {"\xCF\x6B", 0x0087E2}, {"\xCF\x6C", 0x0087E3}, 
{"\xCF\x6D", 0x0087E4}, {"\xCF\x6E", 0x0087E6}, {"\xCF\x6F", 0x0087E7}, {"\xCF\x70", 0x0087E8}, 
{"\xCF\x71", 0x0087E9}, {"\xCF\x72", 0x0087EB}, {"\xCF\x73", 0x0087EC}, {"\xCF\x74", 0x0087ED}, 
{"\xCF\x75", 0x0087EF}, {"\xCF\x76", 0x0087F0}, {"\xCF\x77", 0x0087F1}, {"\xCF\x78", 0x0087F2}, 
{"\xCF\x79", 0x0087F3}, {"\xCF\x7A", 0x0087F4}, {"\xCF\x7B", 0x0087F5}, {"\xCF\x7C", 0x0087F6}, 
{"\xCF\x7D", 0x0087F7}, {"\xCF\x7E", 0x0087F8}, {"\xCF\x80", 0x0087FA}, {"\xCF\x81", 0x0087FB}, 
{"\xCF\x82", 0x0087FC}, {"\xCF\x83", 0x0087FD}, {"\xCF\x84", 0x0087FF}, {"\xCF\x85", 0x008800}, 
{"\xCF\x86", 0x008801}, {"\xCF\x87", 0x008802}, {"\xCF\x88", 0x008804}, {"\xCF\x89", 0x008805}, 
{"\xCF\x8A", 0x008806}, {"\xCF\x8B", 0x008807}, {"\xCF\x8C", 0x008808}, {"\xCF\x8D", 0x008809}, 
{"\xCF\x8E", 0x00880B}, {"\xCF\x8F", 0x00880C}, {"\xCF\x90", 0x00880D}, {"\xCF\x91", 0x00880E}, 
{"\xCF\x92", 0x00880F}, {"\xCF\x93", 0x008810}, {"\xCF\x94", 0x008811}, {"\xCF\x95", 0x008812}, 
{"\xCF\x96", 0x008814}, {"\xCF\x97", 0x008817}, {"\xCF\x98", 0x008818}, {"\xCF\x99", 0x008819}, 
{"\xCF\x9A", 0x00881A}, {"\xCF\x9B", 0x00881C}, {"\xCF\x9C", 0x00881D}, {"\xCF\x9D", 0x00881E}, 
{"\xCF\x9E", 0x00881F}, {"\xCF\x9F", 0x008820}, {"\xCF\xA0", 0x008823}, {"\xCF\xA1", 0x007A00}, 
{"\xCF\xA2", 0x00606F}, {"\xCF\xA3", 0x005E0C}, {"\xCF\xA4", 0x006089}, {"\xCF\xA5", 0x00819D}, 
{"\xCF\xA6", 0x005915}, {"\xCF\xA7", 0x0060DC}, {"\xCF\xA8", 0x007184}, {"\xCF\xA9", 0x0070EF}, 
{"\xCF\xAA", 0x006EAA}, {"\xCF\xAB", 0x006C50}, {"\xCF\xAC", 0x007280}, {"\xCF\xAD", 0x006A84}, 
{"\xCF\xAE", 0x0088AD}, {"\xCF\xAF", 0x005E2D}, {"\xCF\xB0", 0x004E60}, {"\xCF\xB1", 0x005AB3}, 
{"\xCF\xB2", 0x00559C}, {"\xCF\xB3", 0x0094E3}, {"\xCF\xB4", 0x006D17}, {"\xCF\xB5", 0x007CFB}, 
{"\xCF\xB6", 0x009699}, {"\xCF\xB7", 0x00620F}, {"\xCF\xB8", 0x007EC6}, {"\xCF\xB9", 0x00778E}, 
{"\xCF\xBA", 0x00867E}, {"\xCF\xBB", 0x005323}, {"\xCF\xBC", 0x00971E}, {"\xCF\xBD", 0x008F96}, 
{"\xCF\xBE", 0x006687}, {"\xCF\xBF", 0x005CE1}, {"\xCF\xC0", 0x004FA0}, {"\xCF\xC1", 0x0072ED}, 
{"\xCF\xC2", 0x004E0B}, {"\xCF\xC3", 0x0053A6}, {"\xCF\xC4", 0x00590F}, {"\xCF\xC5", 0x005413}, 
{"\xCF\xC6", 0x006380}, {"\xCF\xC7", 0x009528}, {"\xCF\xC8", 0x005148}, {"\xCF\xC9", 0x004ED9}, 
{"\xCF\xCA", 0x009C9C}, {"\xCF\xCB", 0x007EA4}, {"\xCF\xCC", 0x0054B8}, {"\xCF\xCD", 0x008D24}, 
{"\xCF\xCE", 0x008854}, {"\xCF\xCF", 0x008237}, {"\xCF\xD0", 0x0095F2}, {"\xCF\xD1", 0x006D8E}, 
{"\xCF\xD2", 0x005F26}, {"\xCF\xD3", 0x005ACC}, {"\xCF\xD4", 0x00663E}, {"\xCF\xD5", 0x009669}, 
{"\xCF\xD6", 0x0073B0}, {"\xCF\xD7", 0x00732E}, {"\xCF\xD8", 0x0053BF}, {"\xCF\xD9", 0x00817A}, 
{"\xCF\xDA", 0x009985}, {"\xCF\xDB", 0x007FA1}, {"\xCF\xDC", 0x005BAA}, {"\xCF\xDD", 0x009677}, 

};
 for(size_t i=1; i<sizeof(db2bmp_3a_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_3a_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_3b_gb18030_init()
{
static MB2UData db2bmp_3b_gb18030 [] = { {"", 0}, 
{"\xCF\xDE", 0x009650}, {"\xCF\xDF", 0x007EBF}, {"\xCF\xE0", 0x0076F8}, {"\xCF\xE1", 0x0053A2}, 
{"\xCF\xE2", 0x009576}, {"\xCF\xE3", 0x009999}, {"\xCF\xE4", 0x007BB1}, {"\xCF\xE5", 0x008944}, 
{"\xCF\xE6", 0x006E58}, {"\xCF\xE7", 0x004E61}, {"\xCF\xE8", 0x007FD4}, {"\xCF\xE9", 0x007965}, 
{"\xCF\xEA", 0x008BE6}, {"\xCF\xEB", 0x0060F3}, {"\xCF\xEC", 0x0054CD}, {"\xCF\xED", 0x004EAB}, 
{"\xCF\xEE", 0x009879}, {"\xCF\xEF", 0x005DF7}, {"\xCF\xF0", 0x006A61}, {"\xCF\xF1", 0x0050CF}, 
{"\xCF\xF2", 0x005411}, {"\xCF\xF3", 0x008C61}, {"\xCF\xF4", 0x008427}, {"\xCF\xF5", 0x00785D}, 
{"\xCF\xF6", 0x009704}, {"\xCF\xF7", 0x00524A}, {"\xCF\xF8", 0x0054EE}, {"\xCF\xF9", 0x0056A3}, 
{"\xCF\xFA", 0x009500}, {"\xCF\xFB", 0x006D88}, {"\xCF\xFC", 0x005BB5}, {"\xCF\xFD", 0x006DC6}, 
{"\xCF\xFE", 0x006653}, {"\xD0\x40", 0x008824}, {"\xD0\x41", 0x008825}, {"\xD0\x42", 0x008826}, 
{"\xD0\x43", 0x008827}, {"\xD0\x44", 0x008828}, {"\xD0\x45", 0x008829}, {"\xD0\x46", 0x00882A}, 
{"\xD0\x47", 0x00882B}, {"\xD0\x48", 0x00882C}, {"\xD0\x49", 0x00882D}, {"\xD0\x4A", 0x00882E}, 
{"\xD0\x4B", 0x00882F}, {"\xD0\x4C", 0x008830}, {"\xD0\x4D", 0x008831}, {"\xD0\x4E", 0x008833}, 
{"\xD0\x4F", 0x008834}, {"\xD0\x50", 0x008835}, {"\xD0\x51", 0x008836}, {"\xD0\x52", 0x008837}, 
{"\xD0\x53", 0x008838}, {"\xD0\x54", 0x00883A}, {"\xD0\x55", 0x00883B}, {"\xD0\x56", 0x00883D}, 
{"\xD0\x57", 0x00883E}, {"\xD0\x58", 0x00883F}, {"\xD0\x59", 0x008841}, {"\xD0\x5A", 0x008842}, 
{"\xD0\x5B", 0x008843}, {"\xD0\x5C", 0x008846}, {"\xD0\x5D", 0x008847}, {"\xD0\x5E", 0x008848}, 
{"\xD0\x5F", 0x008849}, {"\xD0\x60", 0x00884A}, {"\xD0\x61", 0x00884B}, {"\xD0\x62", 0x00884E}, 
{"\xD0\x63", 0x00884F}, {"\xD0\x64", 0x008850}, {"\xD0\x65", 0x008851}, {"\xD0\x66", 0x008852}, 
{"\xD0\x67", 0x008853}, {"\xD0\x68", 0x008855}, {"\xD0\x69", 0x008856}, {"\xD0\x6A", 0x008858}, 
{"\xD0\x6B", 0x00885A}, {"\xD0\x6C", 0x00885B}, {"\xD0\x6D", 0x00885C}, {"\xD0\x6E", 0x00885D}, 
{"\xD0\x6F", 0x00885E}, {"\xD0\x70", 0x00885F}, {"\xD0\x71", 0x008860}, {"\xD0\x72", 0x008866}, 
{"\xD0\x73", 0x008867}, {"\xD0\x74", 0x00886A}, {"\xD0\x75", 0x00886D}, {"\xD0\x76", 0x00886F}, 
{"\xD0\x77", 0x008871}, {"\xD0\x78", 0x008873}, {"\xD0\x79", 0x008874}, {"\xD0\x7A", 0x008875}, 
{"\xD0\x7B", 0x008876}, {"\xD0\x7C", 0x008878}, {"\xD0\x7D", 0x008879}, {"\xD0\x7E", 0x00887A}, 
{"\xD0\x80", 0x00887B}, {"\xD0\x81", 0x00887C}, {"\xD0\x82", 0x008880}, {"\xD0\x83", 0x008883}, 
{"\xD0\x84", 0x008886}, {"\xD0\x85", 0x008887}, {"\xD0\x86", 0x008889}, {"\xD0\x87", 0x00888A}, 
{"\xD0\x88", 0x00888C}, {"\xD0\x89", 0x00888E}, {"\xD0\x8A", 0x00888F}, {"\xD0\x8B", 0x008890}, 
{"\xD0\x8C", 0x008891}, {"\xD0\x8D", 0x008893}, {"\xD0\x8E", 0x008894}, {"\xD0\x8F", 0x008895}, 
{"\xD0\x90", 0x008897}, {"\xD0\x91", 0x008898}, {"\xD0\x92", 0x008899}, {"\xD0\x93", 0x00889A}, 
{"\xD0\x94", 0x00889B}, {"\xD0\x95", 0x00889D}, {"\xD0\x96", 0x00889E}, {"\xD0\x97", 0x00889F}, 
{"\xD0\x98", 0x0088A0}, {"\xD0\x99", 0x0088A1}, {"\xD0\x9A", 0x0088A3}, {"\xD0\x9B", 0x0088A5}, 
{"\xD0\x9C", 0x0088A6}, {"\xD0\x9D", 0x0088A7}, {"\xD0\x9E", 0x0088A8}, {"\xD0\x9F", 0x0088A9}, 
{"\xD0\xA0", 0x0088AA}, {"\xD0\xA1", 0x005C0F}, {"\xD0\xA2", 0x005B5D}, {"\xD0\xA3", 0x006821}, 
{"\xD0\xA4", 0x008096}, {"\xD0\xA5", 0x005578}, {"\xD0\xA6", 0x007B11}, {"\xD0\xA7", 0x006548}, 
{"\xD0\xA8", 0x006954}, {"\xD0\xA9", 0x004E9B}, {"\xD0\xAA", 0x006B47}, {"\xD0\xAB", 0x00874E}, 
{"\xD0\xAC", 0x00978B}, {"\xD0\xAD", 0x00534F}, {"\xD0\xAE", 0x00631F}, {"\xD0\xAF", 0x00643A}, 
{"\xD0\xB0", 0x0090AA}, {"\xD0\xB1", 0x00659C}, {"\xD0\xB2", 0x0080C1}, {"\xD0\xB3", 0x008C10}, 
{"\xD0\xB4", 0x005199}, {"\xD0\xB5", 0x0068B0}, {"\xD0\xB6", 0x005378}, {"\xD0\xB7", 0x0087F9}, 
{"\xD0\xB8", 0x0061C8}, {"\xD0\xB9", 0x006CC4}, {"\xD0\xBA", 0x006CFB}, {"\xD0\xBB", 0x008C22}, 
{"\xD0\xBC", 0x005C51}, {"\xD0\xBD", 0x0085AA}, {"\xD0\xBE", 0x0082AF}, {"\xD0\xBF", 0x00950C}, 
{"\xD0\xC0", 0x006B23}, {"\xD0\xC1", 0x008F9B}, {"\xD0\xC2", 0x0065B0}, {"\xD0\xC3", 0x005FFB}, 
{"\xD0\xC4", 0x005FC3}, {"\xD0\xC5", 0x004FE1}, {"\xD0\xC6", 0x008845}, {"\xD0\xC7", 0x00661F}, 
{"\xD0\xC8", 0x008165}, {"\xD0\xC9", 0x007329}, {"\xD0\xCA", 0x0060FA}, {"\xD0\xCB", 0x005174}, 
{"\xD0\xCC", 0x005211}, {"\xD0\xCD", 0x00578B}, {"\xD0\xCE", 0x005F62}, {"\xD0\xCF", 0x0090A2}, 
{"\xD0\xD0", 0x00884C}, {"\xD0\xD1", 0x009192}, {"\xD0\xD2", 0x005E78}, {"\xD0\xD3", 0x00674F}, 
{"\xD0\xD4", 0x006027}, {"\xD0\xD5", 0x0059D3}, {"\xD0\xD6", 0x005144}, {"\xD0\xD7", 0x0051F6}, 
{"\xD0\xD8", 0x0080F8}, {"\xD0\xD9", 0x005308}, {"\xD0\xDA", 0x006C79}, {"\xD0\xDB", 0x0096C4}, 
{"\xD0\xDC", 0x00718A}, {"\xD0\xDD", 0x004F11}, {"\xD0\xDE", 0x004FEE}, {"\xD0\xDF", 0x007F9E}, 
{"\xD0\xE0", 0x00673D}, {"\xD0\xE1", 0x0055C5}, {"\xD0\xE2", 0x009508}, {"\xD0\xE3", 0x0079C0}, 
{"\xD0\xE4", 0x008896}, {"\xD0\xE5", 0x007EE3}, {"\xD0\xE6", 0x00589F}, {"\xD0\xE7", 0x00620C}, 
{"\xD0\xE8", 0x009700}, {"\xD0\xE9", 0x00865A}, {"\xD0\xEA", 0x005618}, {"\xD0\xEB", 0x00987B}, 
{"\xD0\xEC", 0x005F90}, {"\xD0\xED", 0x008BB8}, {"\xD0\xEE", 0x0084C4}, {"\xD0\xEF", 0x009157}, 
{"\xD0\xF0", 0x0053D9}, {"\xD0\xF1", 0x0065ED}, {"\xD0\xF2", 0x005E8F}, {"\xD0\xF3", 0x00755C}, 
{"\xD0\xF4", 0x006064}, {"\xD0\xF5", 0x007D6E}, {"\xD0\xF6", 0x005A7F}, {"\xD0\xF7", 0x007EEA}, 
{"\xD0\xF8", 0x007EED}, {"\xD0\xF9", 0x008F69}, {"\xD0\xFA", 0x0055A7}, {"\xD0\xFB", 0x005BA3}, 
{"\xD0\xFC", 0x0060AC}, {"\xD0\xFD", 0x0065CB}, {"\xD0\xFE", 0x007384}, {"\xD1\x40", 0x0088AC}, 
{"\xD1\x41", 0x0088AE}, {"\xD1\x42", 0x0088AF}, {"\xD1\x43", 0x0088B0}, {"\xD1\x44", 0x0088B2}, 
{"\xD1\x45", 0x0088B3}, {"\xD1\x46", 0x0088B4}, {"\xD1\x47", 0x0088B5}, {"\xD1\x48", 0x0088B6}, 
{"\xD1\x49", 0x0088B8}, {"\xD1\x4A", 0x0088B9}, {"\xD1\x4B", 0x0088BA}, {"\xD1\x4C", 0x0088BB}, 
{"\xD1\x4D", 0x0088BD}, {"\xD1\x4E", 0x0088BE}, {"\xD1\x4F", 0x0088BF}, {"\xD1\x50", 0x0088C0}, 
{"\xD1\x51", 0x0088C3}, {"\xD1\x52", 0x0088C4}, {"\xD1\x53", 0x0088C7}, {"\xD1\x54", 0x0088C8}, 
{"\xD1\x55", 0x0088CA}, {"\xD1\x56", 0x0088CB}, {"\xD1\x57", 0x0088CC}, {"\xD1\x58", 0x0088CD}, 
{"\xD1\x59", 0x0088CF}, {"\xD1\x5A", 0x0088D0}, {"\xD1\x5B", 0x0088D1}, {"\xD1\x5C", 0x0088D3}, 
{"\xD1\x5D", 0x0088D6}, {"\xD1\x5E", 0x0088D7}, {"\xD1\x5F", 0x0088DA}, {"\xD1\x60", 0x0088DB}, 

};
 for(size_t i=1; i<sizeof(db2bmp_3b_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_3b_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_3c_gb18030_init()
{
static MB2UData db2bmp_3c_gb18030 [] = { {"", 0}, 
{"\xD1\x61", 0x0088DC}, {"\xD1\x62", 0x0088DD}, {"\xD1\x63", 0x0088DE}, {"\xD1\x64", 0x0088E0}, 
{"\xD1\x65", 0x0088E1}, {"\xD1\x66", 0x0088E6}, {"\xD1\x67", 0x0088E7}, {"\xD1\x68", 0x0088E9}, 
{"\xD1\x69", 0x0088EA}, {"\xD1\x6A", 0x0088EB}, {"\xD1\x6B", 0x0088EC}, {"\xD1\x6C", 0x0088ED}, 
{"\xD1\x6D", 0x0088EE}, {"\xD1\x6E", 0x0088EF}, {"\xD1\x6F", 0x0088F2}, {"\xD1\x70", 0x0088F5}, 
{"\xD1\x71", 0x0088F6}, {"\xD1\x72", 0x0088F7}, {"\xD1\x73", 0x0088FA}, {"\xD1\x74", 0x0088FB}, 
{"\xD1\x75", 0x0088FD}, {"\xD1\x76", 0x0088FF}, {"\xD1\x77", 0x008900}, {"\xD1\x78", 0x008901}, 
{"\xD1\x79", 0x008903}, {"\xD1\x7A", 0x008904}, {"\xD1\x7B", 0x008905}, {"\xD1\x7C", 0x008906}, 
{"\xD1\x7D", 0x008907}, {"\xD1\x7E", 0x008908}, {"\xD1\x80", 0x008909}, {"\xD1\x81", 0x00890B}, 
{"\xD1\x82", 0x00890C}, {"\xD1\x83", 0x00890D}, {"\xD1\x84", 0x00890E}, {"\xD1\x85", 0x00890F}, 
{"\xD1\x86", 0x008911}, {"\xD1\x87", 0x008914}, {"\xD1\x88", 0x008915}, {"\xD1\x89", 0x008916}, 
{"\xD1\x8A", 0x008917}, {"\xD1\x8B", 0x008918}, {"\xD1\x8C", 0x00891C}, {"\xD1\x8D", 0x00891D}, 
{"\xD1\x8E", 0x00891E}, {"\xD1\x8F", 0x00891F}, {"\xD1\x90", 0x008920}, {"\xD1\x91", 0x008922}, 
{"\xD1\x92", 0x008923}, {"\xD1\x93", 0x008924}, {"\xD1\x94", 0x008926}, {"\xD1\x95", 0x008927}, 
{"\xD1\x96", 0x008928}, {"\xD1\x97", 0x008929}, {"\xD1\x98", 0x00892C}, {"\xD1\x99", 0x00892D}, 
{"\xD1\x9A", 0x00892E}, {"\xD1\x9B", 0x00892F}, {"\xD1\x9C", 0x008931}, {"\xD1\x9D", 0x008932}, 
{"\xD1\x9E", 0x008933}, {"\xD1\x9F", 0x008935}, {"\xD1\xA0", 0x008937}, {"\xD1\xA1", 0x009009}, 
{"\xD1\xA2", 0x007663}, {"\xD1\xA3", 0x007729}, {"\xD1\xA4", 0x007EDA}, {"\xD1\xA5", 0x009774}, 
{"\xD1\xA6", 0x00859B}, {"\xD1\xA7", 0x005B66}, {"\xD1\xA8", 0x007A74}, {"\xD1\xA9", 0x0096EA}, 
{"\xD1\xAA", 0x008840}, {"\xD1\xAB", 0x0052CB}, {"\xD1\xAC", 0x00718F}, {"\xD1\xAD", 0x005FAA}, 
{"\xD1\xAE", 0x0065EC}, {"\xD1\xAF", 0x008BE2}, {"\xD1\xB0", 0x005BFB}, {"\xD1\xB1", 0x009A6F}, 
{"\xD1\xB2", 0x005DE1}, {"\xD1\xB3", 0x006B89}, {"\xD1\xB4", 0x006C5B}, {"\xD1\xB5", 0x008BAD}, 
{"\xD1\xB6", 0x008BAF}, {"\xD1\xB7", 0x00900A}, {"\xD1\xB8", 0x008FC5}, {"\xD1\xB9", 0x00538B}, 
{"\xD1\xBA", 0x0062BC}, {"\xD1\xBB", 0x009E26}, {"\xD1\xBC", 0x009E2D}, {"\xD1\xBD", 0x005440}, 
{"\xD1\xBE", 0x004E2B}, {"\xD1\xBF", 0x0082BD}, {"\xD1\xC0", 0x007259}, {"\xD1\xC1", 0x00869C}, 
{"\xD1\xC2", 0x005D16}, {"\xD1\xC3", 0x008859}, {"\xD1\xC4", 0x006DAF}, {"\xD1\xC5", 0x0096C5}, 
{"\xD1\xC6", 0x0054D1}, {"\xD1\xC7", 0x004E9A}, {"\xD1\xC8", 0x008BB6}, {"\xD1\xC9", 0x007109}, 
{"\xD1\xCA", 0x0054BD}, {"\xD1\xCB", 0x009609}, {"\xD1\xCC", 0x0070DF}, {"\xD1\xCD", 0x006DF9}, 
{"\xD1\xCE", 0x0076D0}, {"\xD1\xCF", 0x004E25}, {"\xD1\xD0", 0x007814}, {"\xD1\xD1", 0x008712}, 
{"\xD1\xD2", 0x005CA9}, {"\xD1\xD3", 0x005EF6}, {"\xD1\xD4", 0x008A00}, {"\xD1\xD5", 0x00989C}, 
{"\xD1\xD6", 0x00960E}, {"\xD1\xD7", 0x00708E}, {"\xD1\xD8", 0x006CBF}, {"\xD1\xD9", 0x005944}, 
{"\xD1\xDA", 0x0063A9}, {"\xD1\xDB", 0x00773C}, {"\xD1\xDC", 0x00884D}, {"\xD1\xDD", 0x006F14}, 
{"\xD1\xDE", 0x008273}, {"\xD1\xDF", 0x005830}, {"\xD1\xE0", 0x0071D5}, {"\xD1\xE1", 0x00538C}, 
{"\xD1\xE2", 0x00781A}, {"\xD1\xE3", 0x0096C1}, {"\xD1\xE4", 0x005501}, {"\xD1\xE5", 0x005F66}, 
{"\xD1\xE6", 0x007130}, {"\xD1\xE7", 0x005BB4}, {"\xD1\xE8", 0x008C1A}, {"\xD1\xE9", 0x009A8C}, 
{"\xD1\xEA", 0x006B83}, {"\xD1\xEB", 0x00592E}, {"\xD1\xEC", 0x009E2F}, {"\xD1\xED", 0x0079E7}, 
{"\xD1\xEE", 0x006768}, {"\xD1\xEF", 0x00626C}, {"\xD1\xF0", 0x004F6F}, {"\xD1\xF1", 0x0075A1}, 
{"\xD1\xF2", 0x007F8A}, {"\xD1\xF3", 0x006D0B}, {"\xD1\xF4", 0x009633}, {"\xD1\xF5", 0x006C27}, 
{"\xD1\xF6", 0x004EF0}, {"\xD1\xF7", 0x0075D2}, {"\xD1\xF8", 0x00517B}, {"\xD1\xF9", 0x006837}, 
{"\xD1\xFA", 0x006F3E}, {"\xD1\xFB", 0x009080}, {"\xD1\xFC", 0x008170}, {"\xD1\xFD", 0x005996}, 
{"\xD1\xFE", 0x007476}, {"\xD2\x40", 0x008938}, {"\xD2\x41", 0x008939}, {"\xD2\x42", 0x00893A}, 
{"\xD2\x43", 0x00893B}, {"\xD2\x44", 0x00893C}, {"\xD2\x45", 0x00893D}, {"\xD2\x46", 0x00893E}, 
{"\xD2\x47", 0x00893F}, {"\xD2\x48", 0x008940}, {"\xD2\x49", 0x008942}, {"\xD2\x4A", 0x008943}, 
{"\xD2\x4B", 0x008945}, {"\xD2\x4C", 0x008946}, {"\xD2\x4D", 0x008947}, {"\xD2\x4E", 0x008948}, 
{"\xD2\x4F", 0x008949}, {"\xD2\x50", 0x00894A}, {"\xD2\x51", 0x00894B}, {"\xD2\x52", 0x00894C}, 
{"\xD2\x53", 0x00894D}, {"\xD2\x54", 0x00894E}, {"\xD2\x55", 0x00894F}, {"\xD2\x56", 0x008950}, 
{"\xD2\x57", 0x008951}, {"\xD2\x58", 0x008952}, {"\xD2\x59", 0x008953}, {"\xD2\x5A", 0x008954}, 
{"\xD2\x5B", 0x008955}, {"\xD2\x5C", 0x008956}, {"\xD2\x5D", 0x008957}, {"\xD2\x5E", 0x008958}, 
{"\xD2\x5F", 0x008959}, {"\xD2\x60", 0x00895A}, {"\xD2\x61", 0x00895B}, {"\xD2\x62", 0x00895C}, 
{"\xD2\x63", 0x00895D}, {"\xD2\x64", 0x008960}, {"\xD2\x65", 0x008961}, {"\xD2\x66", 0x008962}, 
{"\xD2\x67", 0x008963}, {"\xD2\x68", 0x008964}, {"\xD2\x69", 0x008965}, {"\xD2\x6A", 0x008967}, 
{"\xD2\x6B", 0x008968}, {"\xD2\x6C", 0x008969}, {"\xD2\x6D", 0x00896A}, {"\xD2\x6E", 0x00896B}, 
{"\xD2\x6F", 0x00896C}, {"\xD2\x70", 0x00896D}, {"\xD2\x71", 0x00896E}, {"\xD2\x72", 0x00896F}, 
{"\xD2\x73", 0x008970}, {"\xD2\x74", 0x008971}, {"\xD2\x75", 0x008972}, {"\xD2\x76", 0x008973}, 
{"\xD2\x77", 0x008974}, {"\xD2\x78", 0x008975}, {"\xD2\x79", 0x008976}, {"\xD2\x7A", 0x008977}, 
{"\xD2\x7B", 0x008978}, {"\xD2\x7C", 0x008979}, {"\xD2\x7D", 0x00897A}, {"\xD2\x7E", 0x00897C}, 
{"\xD2\x80", 0x00897D}, {"\xD2\x81", 0x00897E}, {"\xD2\x82", 0x008980}, {"\xD2\x83", 0x008982}, 
{"\xD2\x84", 0x008984}, {"\xD2\x85", 0x008985}, {"\xD2\x86", 0x008987}, {"\xD2\x87", 0x008988}, 
{"\xD2\x88", 0x008989}, {"\xD2\x89", 0x00898A}, {"\xD2\x8A", 0x00898B}, {"\xD2\x8B", 0x00898C}, 
{"\xD2\x8C", 0x00898D}, {"\xD2\x8D", 0x00898E}, {"\xD2\x8E", 0x00898F}, {"\xD2\x8F", 0x008990}, 
{"\xD2\x90", 0x008991}, {"\xD2\x91", 0x008992}, {"\xD2\x92", 0x008993}, {"\xD2\x93", 0x008994}, 
{"\xD2\x94", 0x008995}, {"\xD2\x95", 0x008996}, {"\xD2\x96", 0x008997}, {"\xD2\x97", 0x008998}, 
{"\xD2\x98", 0x008999}, {"\xD2\x99", 0x00899A}, {"\xD2\x9A", 0x00899B}, {"\xD2\x9B", 0x00899C}, 
{"\xD2\x9C", 0x00899D}, {"\xD2\x9D", 0x00899E}, {"\xD2\x9E", 0x00899F}, {"\xD2\x9F", 0x0089A0}, 
{"\xD2\xA0", 0x0089A1}, {"\xD2\xA1", 0x006447}, {"\xD2\xA2", 0x005C27}, {"\xD2\xA3", 0x009065}, 

};
 for(size_t i=1; i<sizeof(db2bmp_3c_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_3c_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_3d_gb18030_init()
{
static MB2UData db2bmp_3d_gb18030 [] = { {"", 0}, 
{"\xD2\xA4", 0x007A91}, {"\xD2\xA5", 0x008C23}, {"\xD2\xA6", 0x0059DA}, {"\xD2\xA7", 0x0054AC}, 
{"\xD2\xA8", 0x008200}, {"\xD2\xA9", 0x00836F}, {"\xD2\xAA", 0x008981}, {"\xD2\xAB", 0x008000}, 
{"\xD2\xAC", 0x006930}, {"\xD2\xAD", 0x00564E}, {"\xD2\xAE", 0x008036}, {"\xD2\xAF", 0x007237}, 
{"\xD2\xB0", 0x0091CE}, {"\xD2\xB1", 0x0051B6}, {"\xD2\xB2", 0x004E5F}, {"\xD2\xB3", 0x009875}, 
{"\xD2\xB4", 0x006396}, {"\xD2\xB5", 0x004E1A}, {"\xD2\xB6", 0x0053F6}, {"\xD2\xB7", 0x0066F3}, 
{"\xD2\xB8", 0x00814B}, {"\xD2\xB9", 0x00591C}, {"\xD2\xBA", 0x006DB2}, {"\xD2\xBB", 0x004E00}, 
{"\xD2\xBC", 0x0058F9}, {"\xD2\xBD", 0x00533B}, {"\xD2\xBE", 0x0063D6}, {"\xD2\xBF", 0x0094F1}, 
{"\xD2\xC0", 0x004F9D}, {"\xD2\xC1", 0x004F0A}, {"\xD2\xC2", 0x008863}, {"\xD2\xC3", 0x009890}, 
{"\xD2\xC4", 0x005937}, {"\xD2\xC5", 0x009057}, {"\xD2\xC6", 0x0079FB}, {"\xD2\xC7", 0x004EEA}, 
{"\xD2\xC8", 0x0080F0}, {"\xD2\xC9", 0x007591}, {"\xD2\xCA", 0x006C82}, {"\xD2\xCB", 0x005B9C}, 
{"\xD2\xCC", 0x0059E8}, {"\xD2\xCD", 0x005F5D}, {"\xD2\xCE", 0x006905}, {"\xD2\xCF", 0x008681}, 
{"\xD2\xD0", 0x00501A}, {"\xD2\xD1", 0x005DF2}, {"\xD2\xD2", 0x004E59}, {"\xD2\xD3", 0x0077E3}, 
{"\xD2\xD4", 0x004EE5}, {"\xD2\xD5", 0x00827A}, {"\xD2\xD6", 0x006291}, {"\xD2\xD7", 0x006613}, 
{"\xD2\xD8", 0x009091}, {"\xD2\xD9", 0x005C79}, {"\xD2\xDA", 0x004EBF}, {"\xD2\xDB", 0x005F79}, 
{"\xD2\xDC", 0x0081C6}, {"\xD2\xDD", 0x009038}, {"\xD2\xDE", 0x008084}, {"\xD2\xDF", 0x0075AB}, 
{"\xD2\xE0", 0x004EA6}, {"\xD2\xE1", 0x0088D4}, {"\xD2\xE2", 0x00610F}, {"\xD2\xE3", 0x006BC5}, 
{"\xD2\xE4", 0x005FC6}, {"\xD2\xE5", 0x004E49}, {"\xD2\xE6", 0x0076CA}, {"\xD2\xE7", 0x006EA2}, 
{"\xD2\xE8", 0x008BE3}, {"\xD2\xE9", 0x008BAE}, {"\xD2\xEA", 0x008C0A}, {"\xD2\xEB", 0x008BD1}, 
{"\xD2\xEC", 0x005F02}, {"\xD2\xED", 0x007FFC}, {"\xD2\xEE", 0x007FCC}, {"\xD2\xEF", 0x007ECE}, 
{"\xD2\xF0", 0x008335}, {"\xD2\xF1", 0x00836B}, {"\xD2\xF2", 0x0056E0}, {"\xD2\xF3", 0x006BB7}, 
{"\xD2\xF4", 0x0097F3}, {"\xD2\xF5", 0x009634}, {"\xD2\xF6", 0x0059FB}, {"\xD2\xF7", 0x00541F}, 
{"\xD2\xF8", 0x0094F6}, {"\xD2\xF9", 0x006DEB}, {"\xD2\xFA", 0x005BC5}, {"\xD2\xFB", 0x00996E}, 
{"\xD2\xFC", 0x005C39}, {"\xD2\xFD", 0x005F15}, {"\xD2\xFE", 0x009690}, {"\xD3\x40", 0x0089A2}, 
{"\xD3\x41", 0x0089A3}, {"\xD3\x42", 0x0089A4}, {"\xD3\x43", 0x0089A5}, {"\xD3\x44", 0x0089A6}, 
{"\xD3\x45", 0x0089A7}, {"\xD3\x46", 0x0089A8}, {"\xD3\x47", 0x0089A9}, {"\xD3\x48", 0x0089AA}, 
{"\xD3\x49", 0x0089AB}, {"\xD3\x4A", 0x0089AC}, {"\xD3\x4B", 0x0089AD}, {"\xD3\x4C", 0x0089AE}, 
{"\xD3\x4D", 0x0089AF}, {"\xD3\x4E", 0x0089B0}, {"\xD3\x4F", 0x0089B1}, {"\xD3\x50", 0x0089B2}, 
{"\xD3\x51", 0x0089B3}, {"\xD3\x52", 0x0089B4}, {"\xD3\x53", 0x0089B5}, {"\xD3\x54", 0x0089B6}, 
{"\xD3\x55", 0x0089B7}, {"\xD3\x56", 0x0089B8}, {"\xD3\x57", 0x0089B9}, {"\xD3\x58", 0x0089BA}, 
{"\xD3\x59", 0x0089BB}, {"\xD3\x5A", 0x0089BC}, {"\xD3\x5B", 0x0089BD}, {"\xD3\x5C", 0x0089BE}, 
{"\xD3\x5D", 0x0089BF}, {"\xD3\x5E", 0x0089C0}, {"\xD3\x5F", 0x0089C3}, {"\xD3\x60", 0x0089CD}, 
{"\xD3\x61", 0x0089D3}, {"\xD3\x62", 0x0089D4}, {"\xD3\x63", 0x0089D5}, {"\xD3\x64", 0x0089D7}, 
{"\xD3\x65", 0x0089D8}, {"\xD3\x66", 0x0089D9}, {"\xD3\x67", 0x0089DB}, {"\xD3\x68", 0x0089DD}, 
{"\xD3\x69", 0x0089DF}, {"\xD3\x6A", 0x0089E0}, {"\xD3\x6B", 0x0089E1}, {"\xD3\x6C", 0x0089E2}, 
{"\xD3\x6D", 0x0089E4}, {"\xD3\x6E", 0x0089E7}, {"\xD3\x6F", 0x0089E8}, {"\xD3\x70", 0x0089E9}, 
{"\xD3\x71", 0x0089EA}, {"\xD3\x72", 0x0089EC}, {"\xD3\x73", 0x0089ED}, {"\xD3\x74", 0x0089EE}, 
{"\xD3\x75", 0x0089F0}, {"\xD3\x76", 0x0089F1}, {"\xD3\x77", 0x0089F2}, {"\xD3\x78", 0x0089F4}, 
{"\xD3\x79", 0x0089F5}, {"\xD3\x7A", 0x0089F6}, {"\xD3\x7B", 0x0089F7}, {"\xD3\x7C", 0x0089F8}, 
{"\xD3\x7D", 0x0089F9}, {"\xD3\x7E", 0x0089FA}, {"\xD3\x80", 0x0089FB}, {"\xD3\x81", 0x0089FC}, 
{"\xD3\x82", 0x0089FD}, {"\xD3\x83", 0x0089FE}, {"\xD3\x84", 0x0089FF}, {"\xD3\x85", 0x008A01}, 
{"\xD3\x86", 0x008A02}, {"\xD3\x87", 0x008A03}, {"\xD3\x88", 0x008A04}, {"\xD3\x89", 0x008A05}, 
{"\xD3\x8A", 0x008A06}, {"\xD3\x8B", 0x008A08}, {"\xD3\x8C", 0x008A09}, {"\xD3\x8D", 0x008A0A}, 
{"\xD3\x8E", 0x008A0B}, {"\xD3\x8F", 0x008A0C}, {"\xD3\x90", 0x008A0D}, {"\xD3\x91", 0x008A0E}, 
{"\xD3\x92", 0x008A0F}, {"\xD3\x93", 0x008A10}, {"\xD3\x94", 0x008A11}, {"\xD3\x95", 0x008A12}, 
{"\xD3\x96", 0x008A13}, {"\xD3\x97", 0x008A14}, {"\xD3\x98", 0x008A15}, {"\xD3\x99", 0x008A16}, 
{"\xD3\x9A", 0x008A17}, {"\xD3\x9B", 0x008A18}, {"\xD3\x9C", 0x008A19}, {"\xD3\x9D", 0x008A1A}, 
{"\xD3\x9E", 0x008A1B}, {"\xD3\x9F", 0x008A1C}, {"\xD3\xA0", 0x008A1D}, {"\xD3\xA1", 0x005370}, 
{"\xD3\xA2", 0x0082F1}, {"\xD3\xA3", 0x006A31}, {"\xD3\xA4", 0x005A74}, {"\xD3\xA5", 0x009E70}, 
{"\xD3\xA6", 0x005E94}, {"\xD3\xA7", 0x007F28}, {"\xD3\xA8", 0x0083B9}, {"\xD3\xA9", 0x008424}, 
{"\xD3\xAA", 0x008425}, {"\xD3\xAB", 0x008367}, {"\xD3\xAC", 0x008747}, {"\xD3\xAD", 0x008FCE}, 
{"\xD3\xAE", 0x008D62}, {"\xD3\xAF", 0x0076C8}, {"\xD3\xB0", 0x005F71}, {"\xD3\xB1", 0x009896}, 
{"\xD3\xB2", 0x00786C}, {"\xD3\xB3", 0x006620}, {"\xD3\xB4", 0x0054DF}, {"\xD3\xB5", 0x0062E5}, 
{"\xD3\xB6", 0x004F63}, {"\xD3\xB7", 0x0081C3}, {"\xD3\xB8", 0x0075C8}, {"\xD3\xB9", 0x005EB8}, 
{"\xD3\xBA", 0x0096CD}, {"\xD3\xBB", 0x008E0A}, {"\xD3\xBC", 0x0086F9}, {"\xD3\xBD", 0x00548F}, 
{"\xD3\xBE", 0x006CF3}, {"\xD3\xBF", 0x006D8C}, {"\xD3\xC0", 0x006C38}, {"\xD3\xC1", 0x00607F}, 
{"\xD3\xC2", 0x0052C7}, {"\xD3\xC3", 0x007528}, {"\xD3\xC4", 0x005E7D}, {"\xD3\xC5", 0x004F18}, 
{"\xD3\xC6", 0x0060A0}, {"\xD3\xC7", 0x005FE7}, {"\xD3\xC8", 0x005C24}, {"\xD3\xC9", 0x007531}, 
{"\xD3\xCA", 0x0090AE}, {"\xD3\xCB", 0x0094C0}, {"\xD3\xCC", 0x0072B9}, {"\xD3\xCD", 0x006CB9}, 
{"\xD3\xCE", 0x006E38}, {"\xD3\xCF", 0x009149}, {"\xD3\xD0", 0x006709}, {"\xD3\xD1", 0x0053CB}, 
{"\xD3\xD2", 0x0053F3}, {"\xD3\xD3", 0x004F51}, {"\xD3\xD4", 0x0091C9}, {"\xD3\xD5", 0x008BF1}, 
{"\xD3\xD6", 0x0053C8}, {"\xD3\xD7", 0x005E7C}, {"\xD3\xD8", 0x008FC2}, {"\xD3\xD9", 0x006DE4}, 
{"\xD3\xDA", 0x004E8E}, {"\xD3\xDB", 0x0076C2}, {"\xD3\xDC", 0x006986}, {"\xD3\xDD", 0x00865E}, 
{"\xD3\xDE", 0x00611A}, {"\xD3\xDF", 0x008206}, {"\xD3\xE0", 0x004F59}, {"\xD3\xE1", 0x004FDE}, 
{"\xD3\xE2", 0x00903E}, {"\xD3\xE3", 0x009C7C}, {"\xD3\xE4", 0x006109}, {"\xD3\xE5", 0x006E1D}, 

};
 for(size_t i=1; i<sizeof(db2bmp_3d_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_3d_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_3e_gb18030_init()
{
static MB2UData db2bmp_3e_gb18030 [] = { {"", 0}, 
{"\xD3\xE6", 0x006E14}, {"\xD3\xE7", 0x009685}, {"\xD3\xE8", 0x004E88}, {"\xD3\xE9", 0x005A31}, 
{"\xD3\xEA", 0x0096E8}, {"\xD3\xEB", 0x004E0E}, {"\xD3\xEC", 0x005C7F}, {"\xD3\xED", 0x0079B9}, 
{"\xD3\xEE", 0x005B87}, {"\xD3\xEF", 0x008BED}, {"\xD3\xF0", 0x007FBD}, {"\xD3\xF1", 0x007389}, 
{"\xD3\xF2", 0x0057DF}, {"\xD3\xF3", 0x00828B}, {"\xD3\xF4", 0x0090C1}, {"\xD3\xF5", 0x005401}, 
{"\xD3\xF6", 0x009047}, {"\xD3\xF7", 0x0055BB}, {"\xD3\xF8", 0x005CEA}, {"\xD3\xF9", 0x005FA1}, 
{"\xD3\xFA", 0x006108}, {"\xD3\xFB", 0x006B32}, {"\xD3\xFC", 0x0072F1}, {"\xD3\xFD", 0x0080B2}, 
{"\xD3\xFE", 0x008A89}, {"\xD4\x40", 0x008A1E}, {"\xD4\x41", 0x008A1F}, {"\xD4\x42", 0x008A20}, 
{"\xD4\x43", 0x008A21}, {"\xD4\x44", 0x008A22}, {"\xD4\x45", 0x008A23}, {"\xD4\x46", 0x008A24}, 
{"\xD4\x47", 0x008A25}, {"\xD4\x48", 0x008A26}, {"\xD4\x49", 0x008A27}, {"\xD4\x4A", 0x008A28}, 
{"\xD4\x4B", 0x008A29}, {"\xD4\x4C", 0x008A2A}, {"\xD4\x4D", 0x008A2B}, {"\xD4\x4E", 0x008A2C}, 
{"\xD4\x4F", 0x008A2D}, {"\xD4\x50", 0x008A2E}, {"\xD4\x51", 0x008A2F}, {"\xD4\x52", 0x008A30}, 
{"\xD4\x53", 0x008A31}, {"\xD4\x54", 0x008A32}, {"\xD4\x55", 0x008A33}, {"\xD4\x56", 0x008A34}, 
{"\xD4\x57", 0x008A35}, {"\xD4\x58", 0x008A36}, {"\xD4\x59", 0x008A37}, {"\xD4\x5A", 0x008A38}, 
{"\xD4\x5B", 0x008A39}, {"\xD4\x5C", 0x008A3A}, {"\xD4\x5D", 0x008A3B}, {"\xD4\x5E", 0x008A3C}, 
{"\xD4\x5F", 0x008A3D}, {"\xD4\x60", 0x008A3F}, {"\xD4\x61", 0x008A40}, {"\xD4\x62", 0x008A41}, 
{"\xD4\x63", 0x008A42}, {"\xD4\x64", 0x008A43}, {"\xD4\x65", 0x008A44}, {"\xD4\x66", 0x008A45}, 
{"\xD4\x67", 0x008A46}, {"\xD4\x68", 0x008A47}, {"\xD4\x69", 0x008A49}, {"\xD4\x6A", 0x008A4A}, 
{"\xD4\x6B", 0x008A4B}, {"\xD4\x6C", 0x008A4C}, {"\xD4\x6D", 0x008A4D}, {"\xD4\x6E", 0x008A4E}, 
{"\xD4\x6F", 0x008A4F}, {"\xD4\x70", 0x008A50}, {"\xD4\x71", 0x008A51}, {"\xD4\x72", 0x008A52}, 
{"\xD4\x73", 0x008A53}, {"\xD4\x74", 0x008A54}, {"\xD4\x75", 0x008A55}, {"\xD4\x76", 0x008A56}, 
{"\xD4\x77", 0x008A57}, {"\xD4\x78", 0x008A58}, {"\xD4\x79", 0x008A59}, {"\xD4\x7A", 0x008A5A}, 
{"\xD4\x7B", 0x008A5B}, {"\xD4\x7C", 0x008A5C}, {"\xD4\x7D", 0x008A5D}, {"\xD4\x7E", 0x008A5E}, 
{"\xD4\x80", 0x008A5F}, {"\xD4\x81", 0x008A60}, {"\xD4\x82", 0x008A61}, {"\xD4\x83", 0x008A62}, 
{"\xD4\x84", 0x008A63}, {"\xD4\x85", 0x008A64}, {"\xD4\x86", 0x008A65}, {"\xD4\x87", 0x008A66}, 
{"\xD4\x88", 0x008A67}, {"\xD4\x89", 0x008A68}, {"\xD4\x8A", 0x008A69}, {"\xD4\x8B", 0x008A6A}, 
{"\xD4\x8C", 0x008A6B}, {"\xD4\x8D", 0x008A6C}, {"\xD4\x8E", 0x008A6D}, {"\xD4\x8F", 0x008A6E}, 
{"\xD4\x90", 0x008A6F}, {"\xD4\x91", 0x008A70}, {"\xD4\x92", 0x008A71}, {"\xD4\x93", 0x008A72}, 
{"\xD4\x94", 0x008A73}, {"\xD4\x95", 0x008A74}, {"\xD4\x96", 0x008A75}, {"\xD4\x97", 0x008A76}, 
{"\xD4\x98", 0x008A77}, {"\xD4\x99", 0x008A78}, {"\xD4\x9A", 0x008A7A}, {"\xD4\x9B", 0x008A7B}, 
{"\xD4\x9C", 0x008A7C}, {"\xD4\x9D", 0x008A7D}, {"\xD4\x9E", 0x008A7E}, {"\xD4\x9F", 0x008A7F}, 
{"\xD4\xA0", 0x008A80}, {"\xD4\xA1", 0x006D74}, {"\xD4\xA2", 0x005BD3}, {"\xD4\xA3", 0x0088D5}, 
{"\xD4\xA4", 0x009884}, {"\xD4\xA5", 0x008C6B}, {"\xD4\xA6", 0x009A6D}, {"\xD4\xA7", 0x009E33}, 
{"\xD4\xA8", 0x006E0A}, {"\xD4\xA9", 0x0051A4}, {"\xD4\xAA", 0x005143}, {"\xD4\xAB", 0x0057A3}, 
{"\xD4\xAC", 0x008881}, {"\xD4\xAD", 0x00539F}, {"\xD4\xAE", 0x0063F4}, {"\xD4\xAF", 0x008F95}, 
{"\xD4\xB0", 0x0056ED}, {"\xD4\xB1", 0x005458}, {"\xD4\xB2", 0x005706}, {"\xD4\xB3", 0x00733F}, 
{"\xD4\xB4", 0x006E90}, {"\xD4\xB5", 0x007F18}, {"\xD4\xB6", 0x008FDC}, {"\xD4\xB7", 0x0082D1}, 
{"\xD4\xB8", 0x00613F}, {"\xD4\xB9", 0x006028}, {"\xD4\xBA", 0x009662}, {"\xD4\xBB", 0x0066F0}, 
{"\xD4\xBC", 0x007EA6}, {"\xD4\xBD", 0x008D8A}, {"\xD4\xBE", 0x008DC3}, {"\xD4\xBF", 0x0094A5}, 
{"\xD4\xC0", 0x005CB3}, {"\xD4\xC1", 0x007CA4}, {"\xD4\xC2", 0x006708}, {"\xD4\xC3", 0x0060A6}, 
{"\xD4\xC4", 0x009605}, {"\xD4\xC5", 0x008018}, {"\xD4\xC6", 0x004E91}, {"\xD4\xC7", 0x0090E7}, 
{"\xD4\xC8", 0x005300}, {"\xD4\xC9", 0x009668}, {"\xD4\xCA", 0x005141}, {"\xD4\xCB", 0x008FD0}, 
{"\xD4\xCC", 0x008574}, {"\xD4\xCD", 0x00915D}, {"\xD4\xCE", 0x006655}, {"\xD4\xCF", 0x0097F5}, 
{"\xD4\xD0", 0x005B55}, {"\xD4\xD1", 0x00531D}, {"\xD4\xD2", 0x007838}, {"\xD4\xD3", 0x006742}, 
{"\xD4\xD4", 0x00683D}, {"\xD4\xD5", 0x0054C9}, {"\xD4\xD6", 0x00707E}, {"\xD4\xD7", 0x005BB0}, 
{"\xD4\xD8", 0x008F7D}, {"\xD4\xD9", 0x00518D}, {"\xD4\xDA", 0x005728}, {"\xD4\xDB", 0x0054B1}, 
{"\xD4\xDC", 0x006512}, {"\xD4\xDD", 0x006682}, {"\xD4\xDE", 0x008D5E}, {"\xD4\xDF", 0x008D43}, 
{"\xD4\xE0", 0x00810F}, {"\xD4\xE1", 0x00846C}, {"\xD4\xE2", 0x00906D}, {"\xD4\xE3", 0x007CDF}, 
{"\xD4\xE4", 0x0051FF}, {"\xD4\xE5", 0x0085FB}, {"\xD4\xE6", 0x0067A3}, {"\xD4\xE7", 0x0065E9}, 
{"\xD4\xE8", 0x006FA1}, {"\xD4\xE9", 0x0086A4}, {"\xD4\xEA", 0x008E81}, {"\xD4\xEB", 0x00566A}, 
{"\xD4\xEC", 0x009020}, {"\xD4\xED", 0x007682}, {"\xD4\xEE", 0x007076}, {"\xD4\xEF", 0x0071E5}, 
{"\xD4\xF0", 0x008D23}, {"\xD4\xF1", 0x0062E9}, {"\xD4\xF2", 0x005219}, {"\xD4\xF3", 0x006CFD}, 
{"\xD4\xF4", 0x008D3C}, {"\xD4\xF5", 0x00600E}, {"\xD4\xF6", 0x00589E}, {"\xD4\xF7", 0x00618E}, 
{"\xD4\xF8", 0x0066FE}, {"\xD4\xF9", 0x008D60}, {"\xD4\xFA", 0x00624E}, {"\xD4\xFB", 0x0055B3}, 
{"\xD4\xFC", 0x006E23}, {"\xD4\xFD", 0x00672D}, {"\xD4\xFE", 0x008F67}, {"\xD5\x40", 0x008A81}, 
{"\xD5\x41", 0x008A82}, {"\xD5\x42", 0x008A83}, {"\xD5\x43", 0x008A84}, {"\xD5\x44", 0x008A85}, 
{"\xD5\x45", 0x008A86}, {"\xD5\x46", 0x008A87}, {"\xD5\x47", 0x008A88}, {"\xD5\x48", 0x008A8B}, 
{"\xD5\x49", 0x008A8C}, {"\xD5\x4A", 0x008A8D}, {"\xD5\x4B", 0x008A8E}, {"\xD5\x4C", 0x008A8F}, 
{"\xD5\x4D", 0x008A90}, {"\xD5\x4E", 0x008A91}, {"\xD5\x4F", 0x008A92}, {"\xD5\x50", 0x008A94}, 
{"\xD5\x51", 0x008A95}, {"\xD5\x52", 0x008A96}, {"\xD5\x53", 0x008A97}, {"\xD5\x54", 0x008A98}, 
{"\xD5\x55", 0x008A99}, {"\xD5\x56", 0x008A9A}, {"\xD5\x57", 0x008A9B}, {"\xD5\x58", 0x008A9C}, 
{"\xD5\x59", 0x008A9D}, {"\xD5\x5A", 0x008A9E}, {"\xD5\x5B", 0x008A9F}, {"\xD5\x5C", 0x008AA0}, 
{"\xD5\x5D", 0x008AA1}, {"\xD5\x5E", 0x008AA2}, {"\xD5\x5F", 0x008AA3}, {"\xD5\x60", 0x008AA4}, 
{"\xD5\x61", 0x008AA5}, {"\xD5\x62", 0x008AA6}, {"\xD5\x63", 0x008AA7}, {"\xD5\x64", 0x008AA8}, 
{"\xD5\x65", 0x008AA9}, {"\xD5\x66", 0x008AAA}, {"\xD5\x67", 0x008AAB}, {"\xD5\x68", 0x008AAC}, 

};
 for(size_t i=1; i<sizeof(db2bmp_3e_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_3e_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_3f_gb18030_init()
{
static MB2UData db2bmp_3f_gb18030 [] = { {"", 0}, 
{"\xD5\x69", 0x008AAD}, {"\xD5\x6A", 0x008AAE}, {"\xD5\x6B", 0x008AAF}, {"\xD5\x6C", 0x008AB0}, 
{"\xD5\x6D", 0x008AB1}, {"\xD5\x6E", 0x008AB2}, {"\xD5\x6F", 0x008AB3}, {"\xD5\x70", 0x008AB4}, 
{"\xD5\x71", 0x008AB5}, {"\xD5\x72", 0x008AB6}, {"\xD5\x73", 0x008AB7}, {"\xD5\x74", 0x008AB8}, 
{"\xD5\x75", 0x008AB9}, {"\xD5\x76", 0x008ABA}, {"\xD5\x77", 0x008ABB}, {"\xD5\x78", 0x008ABC}, 
{"\xD5\x79", 0x008ABD}, {"\xD5\x7A", 0x008ABE}, {"\xD5\x7B", 0x008ABF}, {"\xD5\x7C", 0x008AC0}, 
{"\xD5\x7D", 0x008AC1}, {"\xD5\x7E", 0x008AC2}, {"\xD5\x80", 0x008AC3}, {"\xD5\x81", 0x008AC4}, 
{"\xD5\x82", 0x008AC5}, {"\xD5\x83", 0x008AC6}, {"\xD5\x84", 0x008AC7}, {"\xD5\x85", 0x008AC8}, 
{"\xD5\x86", 0x008AC9}, {"\xD5\x87", 0x008ACA}, {"\xD5\x88", 0x008ACB}, {"\xD5\x89", 0x008ACC}, 
{"\xD5\x8A", 0x008ACD}, {"\xD5\x8B", 0x008ACE}, {"\xD5\x8C", 0x008ACF}, {"\xD5\x8D", 0x008AD0}, 
{"\xD5\x8E", 0x008AD1}, {"\xD5\x8F", 0x008AD2}, {"\xD5\x90", 0x008AD3}, {"\xD5\x91", 0x008AD4}, 
{"\xD5\x92", 0x008AD5}, {"\xD5\x93", 0x008AD6}, {"\xD5\x94", 0x008AD7}, {"\xD5\x95", 0x008AD8}, 
{"\xD5\x96", 0x008AD9}, {"\xD5\x97", 0x008ADA}, {"\xD5\x98", 0x008ADB}, {"\xD5\x99", 0x008ADC}, 
{"\xD5\x9A", 0x008ADD}, {"\xD5\x9B", 0x008ADE}, {"\xD5\x9C", 0x008ADF}, {"\xD5\x9D", 0x008AE0}, 
{"\xD5\x9E", 0x008AE1}, {"\xD5\x9F", 0x008AE2}, {"\xD5\xA0", 0x008AE3}, {"\xD5\xA1", 0x0094E1}, 
{"\xD5\xA2", 0x0095F8}, {"\xD5\xA3", 0x007728}, {"\xD5\xA4", 0x006805}, {"\xD5\xA5", 0x0069A8}, 
{"\xD5\xA6", 0x00548B}, {"\xD5\xA7", 0x004E4D}, {"\xD5\xA8", 0x0070B8}, {"\xD5\xA9", 0x008BC8}, 
{"\xD5\xAA", 0x006458}, {"\xD5\xAB", 0x00658B}, {"\xD5\xAC", 0x005B85}, {"\xD5\xAD", 0x007A84}, 
{"\xD5\xAE", 0x00503A}, {"\xD5\xAF", 0x005BE8}, {"\xD5\xB0", 0x0077BB}, {"\xD5\xB1", 0x006BE1}, 
{"\xD5\xB2", 0x008A79}, {"\xD5\xB3", 0x007C98}, {"\xD5\xB4", 0x006CBE}, {"\xD5\xB5", 0x0076CF}, 
{"\xD5\xB6", 0x0065A9}, {"\xD5\xB7", 0x008F97}, {"\xD5\xB8", 0x005D2D}, {"\xD5\xB9", 0x005C55}, 
{"\xD5\xBA", 0x008638}, {"\xD5\xBB", 0x006808}, {"\xD5\xBC", 0x005360}, {"\xD5\xBD", 0x006218}, 
{"\xD5\xBE", 0x007AD9}, {"\xD5\xBF", 0x006E5B}, {"\xD5\xC0", 0x007EFD}, {"\xD5\xC1", 0x006A1F}, 
{"\xD5\xC2", 0x007AE0}, {"\xD5\xC3", 0x005F70}, {"\xD5\xC4", 0x006F33}, {"\xD5\xC5", 0x005F20}, 
{"\xD5\xC6", 0x00638C}, {"\xD5\xC7", 0x006DA8}, {"\xD5\xC8", 0x006756}, {"\xD5\xC9", 0x004E08}, 
{"\xD5\xCA", 0x005E10}, {"\xD5\xCB", 0x008D26}, {"\xD5\xCC", 0x004ED7}, {"\xD5\xCD", 0x0080C0}, 
{"\xD5\xCE", 0x007634}, {"\xD5\xCF", 0x00969C}, {"\xD5\xD0", 0x0062DB}, {"\xD5\xD1", 0x00662D}, 
{"\xD5\xD2", 0x00627E}, {"\xD5\xD3", 0x006CBC}, {"\xD5\xD4", 0x008D75}, {"\xD5\xD5", 0x007167}, 
{"\xD5\xD6", 0x007F69}, {"\xD5\xD7", 0x005146}, {"\xD5\xD8", 0x008087}, {"\xD5\xD9", 0x0053EC}, 
{"\xD5\xDA", 0x00906E}, {"\xD5\xDB", 0x006298}, {"\xD5\xDC", 0x0054F2}, {"\xD5\xDD", 0x0086F0}, 
{"\xD5\xDE", 0x008F99}, {"\xD5\xDF", 0x008005}, {"\xD5\xE0", 0x009517}, {"\xD5\xE1", 0x008517}, 
{"\xD5\xE2", 0x008FD9}, {"\xD5\xE3", 0x006D59}, {"\xD5\xE4", 0x0073CD}, {"\xD5\xE5", 0x00659F}, 
{"\xD5\xE6", 0x00771F}, {"\xD5\xE7", 0x007504}, {"\xD5\xE8", 0x007827}, {"\xD5\xE9", 0x0081FB}, 
{"\xD5\xEA", 0x008D1E}, {"\xD5\xEB", 0x009488}, {"\xD5\xEC", 0x004FA6}, {"\xD5\xED", 0x006795}, 
{"\xD5\xEE", 0x0075B9}, {"\xD5\xEF", 0x008BCA}, {"\xD5\xF0", 0x009707}, {"\xD5\xF1", 0x00632F}, 
{"\xD5\xF2", 0x009547}, {"\xD5\xF3", 0x009635}, {"\xD5\xF4", 0x0084B8}, {"\xD5\xF5", 0x006323}, 
{"\xD5\xF6", 0x007741}, {"\xD5\xF7", 0x005F81}, {"\xD5\xF8", 0x0072F0}, {"\xD5\xF9", 0x004E89}, 
{"\xD5\xFA", 0x006014}, {"\xD5\xFB", 0x006574}, {"\xD5\xFC", 0x0062EF}, {"\xD5\xFD", 0x006B63}, 
{"\xD5\xFE", 0x00653F}, {"\xD6\x40", 0x008AE4}, {"\xD6\x41", 0x008AE5}, {"\xD6\x42", 0x008AE6}, 
{"\xD6\x43", 0x008AE7}, {"\xD6\x44", 0x008AE8}, {"\xD6\x45", 0x008AE9}, {"\xD6\x46", 0x008AEA}, 
{"\xD6\x47", 0x008AEB}, {"\xD6\x48", 0x008AEC}, {"\xD6\x49", 0x008AED}, {"\xD6\x4A", 0x008AEE}, 
{"\xD6\x4B", 0x008AEF}, {"\xD6\x4C", 0x008AF0}, {"\xD6\x4D", 0x008AF1}, {"\xD6\x4E", 0x008AF2}, 
{"\xD6\x4F", 0x008AF3}, {"\xD6\x50", 0x008AF4}, {"\xD6\x51", 0x008AF5}, {"\xD6\x52", 0x008AF6}, 
{"\xD6\x53", 0x008AF7}, {"\xD6\x54", 0x008AF8}, {"\xD6\x55", 0x008AF9}, {"\xD6\x56", 0x008AFA}, 
{"\xD6\x57", 0x008AFB}, {"\xD6\x58", 0x008AFC}, {"\xD6\x59", 0x008AFD}, {"\xD6\x5A", 0x008AFE}, 
{"\xD6\x5B", 0x008AFF}, {"\xD6\x5C", 0x008B00}, {"\xD6\x5D", 0x008B01}, {"\xD6\x5E", 0x008B02}, 
{"\xD6\x5F", 0x008B03}, {"\xD6\x60", 0x008B04}, {"\xD6\x61", 0x008B05}, {"\xD6\x62", 0x008B06}, 
{"\xD6\x63", 0x008B08}, {"\xD6\x64", 0x008B09}, {"\xD6\x65", 0x008B0A}, {"\xD6\x66", 0x008B0B}, 
{"\xD6\x67", 0x008B0C}, {"\xD6\x68", 0x008B0D}, {"\xD6\x69", 0x008B0E}, {"\xD6\x6A", 0x008B0F}, 
{"\xD6\x6B", 0x008B10}, {"\xD6\x6C", 0x008B11}, {"\xD6\x6D", 0x008B12}, {"\xD6\x6E", 0x008B13}, 
{"\xD6\x6F", 0x008B14}, {"\xD6\x70", 0x008B15}, {"\xD6\x71", 0x008B16}, {"\xD6\x72", 0x008B17}, 
{"\xD6\x73", 0x008B18}, {"\xD6\x74", 0x008B19}, {"\xD6\x75", 0x008B1A}, {"\xD6\x76", 0x008B1B}, 
{"\xD6\x77", 0x008B1C}, {"\xD6\x78", 0x008B1D}, {"\xD6\x79", 0x008B1E}, {"\xD6\x7A", 0x008B1F}, 
{"\xD6\x7B", 0x008B20}, {"\xD6\x7C", 0x008B21}, {"\xD6\x7D", 0x008B22}, {"\xD6\x7E", 0x008B23}, 
{"\xD6\x80", 0x008B24}, {"\xD6\x81", 0x008B25}, {"\xD6\x82", 0x008B27}, {"\xD6\x83", 0x008B28}, 
{"\xD6\x84", 0x008B29}, {"\xD6\x85", 0x008B2A}, {"\xD6\x86", 0x008B2B}, {"\xD6\x87", 0x008B2C}, 
{"\xD6\x88", 0x008B2D}, {"\xD6\x89", 0x008B2E}, {"\xD6\x8A", 0x008B2F}, {"\xD6\x8B", 0x008B30}, 
{"\xD6\x8C", 0x008B31}, {"\xD6\x8D", 0x008B32}, {"\xD6\x8E", 0x008B33}, {"\xD6\x8F", 0x008B34}, 
{"\xD6\x90", 0x008B35}, {"\xD6\x91", 0x008B36}, {"\xD6\x92", 0x008B37}, {"\xD6\x93", 0x008B38}, 
{"\xD6\x94", 0x008B39}, {"\xD6\x95", 0x008B3A}, {"\xD6\x96", 0x008B3B}, {"\xD6\x97", 0x008B3C}, 
{"\xD6\x98", 0x008B3D}, {"\xD6\x99", 0x008B3E}, {"\xD6\x9A", 0x008B3F}, {"\xD6\x9B", 0x008B40}, 
{"\xD6\x9C", 0x008B41}, {"\xD6\x9D", 0x008B42}, {"\xD6\x9E", 0x008B43}, {"\xD6\x9F", 0x008B44}, 
{"\xD6\xA0", 0x008B45}, {"\xD6\xA1", 0x005E27}, {"\xD6\xA2", 0x0075C7}, {"\xD6\xA3", 0x0090D1}, 
{"\xD6\xA4", 0x008BC1}, {"\xD6\xA5", 0x00829D}, {"\xD6\xA6", 0x00679D}, {"\xD6\xA7", 0x00652F}, 
{"\xD6\xA8", 0x005431}, {"\xD6\xA9", 0x008718}, {"\xD6\xAA", 0x0077E5}, {"\xD6\xAB", 0x0080A2}, 

};
 for(size_t i=1; i<sizeof(db2bmp_3f_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_3f_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_40_gb18030_init()
{
static MB2UData db2bmp_40_gb18030 [] = { {"", 0}, 
{"\xD6\xAC", 0x008102}, {"\xD6\xAD", 0x006C41}, {"\xD6\xAE", 0x004E4B}, {"\xD6\xAF", 0x007EC7}, 
{"\xD6\xB0", 0x00804C}, {"\xD6\xB1", 0x0076F4}, {"\xD6\xB2", 0x00690D}, {"\xD6\xB3", 0x006B96}, 
{"\xD6\xB4", 0x006267}, {"\xD6\xB5", 0x00503C}, {"\xD6\xB6", 0x004F84}, {"\xD6\xB7", 0x005740}, 
{"\xD6\xB8", 0x006307}, {"\xD6\xB9", 0x006B62}, {"\xD6\xBA", 0x008DBE}, {"\xD6\xBB", 0x0053EA}, 
{"\xD6\xBC", 0x0065E8}, {"\xD6\xBD", 0x007EB8}, {"\xD6\xBE", 0x005FD7}, {"\xD6\xBF", 0x00631A}, 
{"\xD6\xC0", 0x0063B7}, {"\xD6\xC1", 0x0081F3}, {"\xD6\xC2", 0x0081F4}, {"\xD6\xC3", 0x007F6E}, 
{"\xD6\xC4", 0x005E1C}, {"\xD6\xC5", 0x005CD9}, {"\xD6\xC6", 0x005236}, {"\xD6\xC7", 0x00667A}, 
{"\xD6\xC8", 0x0079E9}, {"\xD6\xC9", 0x007A1A}, {"\xD6\xCA", 0x008D28}, {"\xD6\xCB", 0x007099}, 
{"\xD6\xCC", 0x0075D4}, {"\xD6\xCD", 0x006EDE}, {"\xD6\xCE", 0x006CBB}, {"\xD6\xCF", 0x007A92}, 
{"\xD6\xD0", 0x004E2D}, {"\xD6\xD1", 0x0076C5}, {"\xD6\xD2", 0x005FE0}, {"\xD6\xD3", 0x00949F}, 
{"\xD6\xD4", 0x008877}, {"\xD6\xD5", 0x007EC8}, {"\xD6\xD6", 0x0079CD}, {"\xD6\xD7", 0x0080BF}, 
{"\xD6\xD8", 0x0091CD}, {"\xD6\xD9", 0x004EF2}, {"\xD6\xDA", 0x004F17}, {"\xD6\xDB", 0x00821F}, 
{"\xD6\xDC", 0x005468}, {"\xD6\xDD", 0x005DDE}, {"\xD6\xDE", 0x006D32}, {"\xD6\xDF", 0x008BCC}, 
{"\xD6\xE0", 0x007CA5}, {"\xD6\xE1", 0x008F74}, {"\xD6\xE2", 0x008098}, {"\xD6\xE3", 0x005E1A}, 
{"\xD6\xE4", 0x005492}, {"\xD6\xE5", 0x0076B1}, {"\xD6\xE6", 0x005B99}, {"\xD6\xE7", 0x00663C}, 
{"\xD6\xE8", 0x009AA4}, {"\xD6\xE9", 0x0073E0}, {"\xD6\xEA", 0x00682A}, {"\xD6\xEB", 0x0086DB}, 
{"\xD6\xEC", 0x006731}, {"\xD6\xED", 0x00732A}, {"\xD6\xEE", 0x008BF8}, {"\xD6\xEF", 0x008BDB}, 
{"\xD6\xF0", 0x009010}, {"\xD6\xF1", 0x007AF9}, {"\xD6\xF2", 0x0070DB}, {"\xD6\xF3", 0x00716E}, 
{"\xD6\xF4", 0x0062C4}, {"\xD6\xF5", 0x0077A9}, {"\xD6\xF6", 0x005631}, {"\xD6\xF7", 0x004E3B}, 
{"\xD6\xF8", 0x008457}, {"\xD6\xF9", 0x0067F1}, {"\xD6\xFA", 0x0052A9}, {"\xD6\xFB", 0x0086C0}, 
{"\xD6\xFC", 0x008D2E}, {"\xD6\xFD", 0x0094F8}, {"\xD6\xFE", 0x007B51}, {"\xD7\x40", 0x008B46}, 
{"\xD7\x41", 0x008B47}, {"\xD7\x42", 0x008B48}, {"\xD7\x43", 0x008B49}, {"\xD7\x44", 0x008B4A}, 
{"\xD7\x45", 0x008B4B}, {"\xD7\x46", 0x008B4C}, {"\xD7\x47", 0x008B4D}, {"\xD7\x48", 0x008B4E}, 
{"\xD7\x49", 0x008B4F}, {"\xD7\x4A", 0x008B50}, {"\xD7\x4B", 0x008B51}, {"\xD7\x4C", 0x008B52}, 
{"\xD7\x4D", 0x008B53}, {"\xD7\x4E", 0x008B54}, {"\xD7\x4F", 0x008B55}, {"\xD7\x50", 0x008B56}, 
{"\xD7\x51", 0x008B57}, {"\xD7\x52", 0x008B58}, {"\xD7\x53", 0x008B59}, {"\xD7\x54", 0x008B5A}, 
{"\xD7\x55", 0x008B5B}, {"\xD7\x56", 0x008B5C}, {"\xD7\x57", 0x008B5D}, {"\xD7\x58", 0x008B5E}, 
{"\xD7\x59", 0x008B5F}, {"\xD7\x5A", 0x008B60}, {"\xD7\x5B", 0x008B61}, {"\xD7\x5C", 0x008B62}, 
{"\xD7\x5D", 0x008B63}, {"\xD7\x5E", 0x008B64}, {"\xD7\x5F", 0x008B65}, {"\xD7\x60", 0x008B67}, 
{"\xD7\x61", 0x008B68}, {"\xD7\x62", 0x008B69}, {"\xD7\x63", 0x008B6A}, {"\xD7\x64", 0x008B6B}, 
{"\xD7\x65", 0x008B6D}, {"\xD7\x66", 0x008B6E}, {"\xD7\x67", 0x008B6F}, {"\xD7\x68", 0x008B70}, 
{"\xD7\x69", 0x008B71}, {"\xD7\x6A", 0x008B72}, {"\xD7\x6B", 0x008B73}, {"\xD7\x6C", 0x008B74}, 
{"\xD7\x6D", 0x008B75}, {"\xD7\x6E", 0x008B76}, {"\xD7\x6F", 0x008B77}, {"\xD7\x70", 0x008B78}, 
{"\xD7\x71", 0x008B79}, {"\xD7\x72", 0x008B7A}, {"\xD7\x73", 0x008B7B}, {"\xD7\x74", 0x008B7C}, 
{"\xD7\x75", 0x008B7D}, {"\xD7\x76", 0x008B7E}, {"\xD7\x77", 0x008B7F}, {"\xD7\x78", 0x008B80}, 
{"\xD7\x79", 0x008B81}, {"\xD7\x7A", 0x008B82}, {"\xD7\x7B", 0x008B83}, {"\xD7\x7C", 0x008B84}, 
{"\xD7\x7D", 0x008B85}, {"\xD7\x7E", 0x008B86}, {"\xD7\x80", 0x008B87}, {"\xD7\x81", 0x008B88}, 
{"\xD7\x82", 0x008B89}, {"\xD7\x83", 0x008B8A}, {"\xD7\x84", 0x008B8B}, {"\xD7\x85", 0x008B8C}, 
{"\xD7\x86", 0x008B8D}, {"\xD7\x87", 0x008B8E}, {"\xD7\x88", 0x008B8F}, {"\xD7\x89", 0x008B90}, 
{"\xD7\x8A", 0x008B91}, {"\xD7\x8B", 0x008B92}, {"\xD7\x8C", 0x008B93}, {"\xD7\x8D", 0x008B94}, 
{"\xD7\x8E", 0x008B95}, {"\xD7\x8F", 0x008B96}, {"\xD7\x90", 0x008B97}, {"\xD7\x91", 0x008B98}, 
{"\xD7\x92", 0x008B99}, {"\xD7\x93", 0x008B9A}, {"\xD7\x94", 0x008B9B}, {"\xD7\x95", 0x008B9C}, 
{"\xD7\x96", 0x008B9D}, {"\xD7\x97", 0x008B9E}, {"\xD7\x98", 0x008B9F}, {"\xD7\x99", 0x008BAC}, 
{"\xD7\x9A", 0x008BB1}, {"\xD7\x9B", 0x008BBB}, {"\xD7\x9C", 0x008BC7}, {"\xD7\x9D", 0x008BD0}, 
{"\xD7\x9E", 0x008BEA}, {"\xD7\x9F", 0x008C09}, {"\xD7\xA0", 0x008C1E}, {"\xD7\xA1", 0x004F4F}, 
{"\xD7\xA2", 0x006CE8}, {"\xD7\xA3", 0x00795D}, {"\xD7\xA4", 0x009A7B}, {"\xD7\xA5", 0x006293}, 
{"\xD7\xA6", 0x00722A}, {"\xD7\xA7", 0x0062FD}, {"\xD7\xA8", 0x004E13}, {"\xD7\xA9", 0x007816}, 
{"\xD7\xAA", 0x008F6C}, {"\xD7\xAB", 0x0064B0}, {"\xD7\xAC", 0x008D5A}, {"\xD7\xAD", 0x007BC6}, 
{"\xD7\xAE", 0x006869}, {"\xD7\xAF", 0x005E84}, {"\xD7\xB0", 0x0088C5}, {"\xD7\xB1", 0x005986}, 
{"\xD7\xB2", 0x00649E}, {"\xD7\xB3", 0x0058EE}, {"\xD7\xB4", 0x0072B6}, {"\xD7\xB5", 0x00690E}, 
{"\xD7\xB6", 0x009525}, {"\xD7\xB7", 0x008FFD}, {"\xD7\xB8", 0x008D58}, {"\xD7\xB9", 0x005760}, 
{"\xD7\xBA", 0x007F00}, {"\xD7\xBB", 0x008C06}, {"\xD7\xBC", 0x0051C6}, {"\xD7\xBD", 0x006349}, 
{"\xD7\xBE", 0x0062D9}, {"\xD7\xBF", 0x005353}, {"\xD7\xC0", 0x00684C}, {"\xD7\xC1", 0x007422}, 
{"\xD7\xC2", 0x008301}, {"\xD7\xC3", 0x00914C}, {"\xD7\xC4", 0x005544}, {"\xD7\xC5", 0x007740}, 
{"\xD7\xC6", 0x00707C}, {"\xD7\xC7", 0x006D4A}, {"\xD7\xC8", 0x005179}, {"\xD7\xC9", 0x0054A8}, 
{"\xD7\xCA", 0x008D44}, {"\xD7\xCB", 0x0059FF}, {"\xD7\xCC", 0x006ECB}, {"\xD7\xCD", 0x006DC4}, 
{"\xD7\xCE", 0x005B5C}, {"\xD7\xCF", 0x007D2B}, {"\xD7\xD0", 0x004ED4}, {"\xD7\xD1", 0x007C7D}, 
{"\xD7\xD2", 0x006ED3}, {"\xD7\xD3", 0x005B50}, {"\xD7\xD4", 0x0081EA}, {"\xD7\xD5", 0x006E0D}, 
{"\xD7\xD6", 0x005B57}, {"\xD7\xD7", 0x009B03}, {"\xD7\xD8", 0x0068D5}, {"\xD7\xD9", 0x008E2A}, 
{"\xD7\xDA", 0x005B97}, {"\xD7\xDB", 0x007EFC}, {"\xD7\xDC", 0x00603B}, {"\xD7\xDD", 0x007EB5}, 
{"\xD7\xDE", 0x0090B9}, {"\xD7\xDF", 0x008D70}, {"\xD7\xE0", 0x00594F}, {"\xD7\xE1", 0x0063CD}, 
{"\xD7\xE2", 0x0079DF}, {"\xD7\xE3", 0x008DB3}, {"\xD7\xE4", 0x005352}, {"\xD7\xE5", 0x0065CF}, 
{"\xD7\xE6", 0x007956}, {"\xD7\xE7", 0x008BC5}, {"\xD7\xE8", 0x00963B}, {"\xD7\xE9", 0x007EC4}, 
{"\xD7\xEA", 0x0094BB}, {"\xD7\xEB", 0x007E82}, {"\xD7\xEC", 0x005634}, {"\xD7\xED", 0x009189}, 

};
 for(size_t i=1; i<sizeof(db2bmp_40_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_40_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_41_gb18030_init()
{
static MB2UData db2bmp_41_gb18030 [] = { {"", 0}, 
{"\xD7\xEE", 0x006700}, {"\xD7\xEF", 0x007F6A}, {"\xD7\xF0", 0x005C0A}, {"\xD7\xF1", 0x009075}, 
{"\xD7\xF2", 0x006628}, {"\xD7\xF3", 0x005DE6}, {"\xD7\xF4", 0x004F50}, {"\xD7\xF5", 0x0067DE}, 
{"\xD7\xF6", 0x00505A}, {"\xD7\xF7", 0x004F5C}, {"\xD7\xF8", 0x005750}, {"\xD7\xF9", 0x005EA7}, 
{"\xD7\xFA", 0x00E810}, {"\xD7\xFB", 0x00E811}, {"\xD7\xFC", 0x00E812}, {"\xD7\xFD", 0x00E813}, 
{"\xD7\xFE", 0x00E814}, {"\xD8\x40", 0x008C38}, {"\xD8\x41", 0x008C39}, {"\xD8\x42", 0x008C3A}, 
{"\xD8\x43", 0x008C3B}, {"\xD8\x44", 0x008C3C}, {"\xD8\x45", 0x008C3D}, {"\xD8\x46", 0x008C3E}, 
{"\xD8\x47", 0x008C3F}, {"\xD8\x48", 0x008C40}, {"\xD8\x49", 0x008C42}, {"\xD8\x4A", 0x008C43}, 
{"\xD8\x4B", 0x008C44}, {"\xD8\x4C", 0x008C45}, {"\xD8\x4D", 0x008C48}, {"\xD8\x4E", 0x008C4A}, 
{"\xD8\x4F", 0x008C4B}, {"\xD8\x50", 0x008C4D}, {"\xD8\x51", 0x008C4E}, {"\xD8\x52", 0x008C4F}, 
{"\xD8\x53", 0x008C50}, {"\xD8\x54", 0x008C51}, {"\xD8\x55", 0x008C52}, {"\xD8\x56", 0x008C53}, 
{"\xD8\x57", 0x008C54}, {"\xD8\x58", 0x008C56}, {"\xD8\x59", 0x008C57}, {"\xD8\x5A", 0x008C58}, 
{"\xD8\x5B", 0x008C59}, {"\xD8\x5C", 0x008C5B}, {"\xD8\x5D", 0x008C5C}, {"\xD8\x5E", 0x008C5D}, 
{"\xD8\x5F", 0x008C5E}, {"\xD8\x60", 0x008C5F}, {"\xD8\x61", 0x008C60}, {"\xD8\x62", 0x008C63}, 
{"\xD8\x63", 0x008C64}, {"\xD8\x64", 0x008C65}, {"\xD8\x65", 0x008C66}, {"\xD8\x66", 0x008C67}, 
{"\xD8\x67", 0x008C68}, {"\xD8\x68", 0x008C69}, {"\xD8\x69", 0x008C6C}, {"\xD8\x6A", 0x008C6D}, 
{"\xD8\x6B", 0x008C6E}, {"\xD8\x6C", 0x008C6F}, {"\xD8\x6D", 0x008C70}, {"\xD8\x6E", 0x008C71}, 
{"\xD8\x6F", 0x008C72}, {"\xD8\x70", 0x008C74}, {"\xD8\x71", 0x008C75}, {"\xD8\x72", 0x008C76}, 
{"\xD8\x73", 0x008C77}, {"\xD8\x74", 0x008C7B}, {"\xD8\x75", 0x008C7C}, {"\xD8\x76", 0x008C7D}, 
{"\xD8\x77", 0x008C7E}, {"\xD8\x78", 0x008C7F}, {"\xD8\x79", 0x008C80}, {"\xD8\x7A", 0x008C81}, 
{"\xD8\x7B", 0x008C83}, {"\xD8\x7C", 0x008C84}, {"\xD8\x7D", 0x008C86}, {"\xD8\x7E", 0x008C87}, 
{"\xD8\x80", 0x008C88}, {"\xD8\x81", 0x008C8B}, {"\xD8\x82", 0x008C8D}, {"\xD8\x83", 0x008C8E}, 
{"\xD8\x84", 0x008C8F}, {"\xD8\x85", 0x008C90}, {"\xD8\x86", 0x008C91}, {"\xD8\x87", 0x008C92}, 
{"\xD8\x88", 0x008C93}, {"\xD8\x89", 0x008C95}, {"\xD8\x8A", 0x008C96}, {"\xD8\x8B", 0x008C97}, 
{"\xD8\x8C", 0x008C99}, {"\xD8\x8D", 0x008C9A}, {"\xD8\x8E", 0x008C9B}, {"\xD8\x8F", 0x008C9C}, 
{"\xD8\x90", 0x008C9D}, {"\xD8\x91", 0x008C9E}, {"\xD8\x92", 0x008C9F}, {"\xD8\x93", 0x008CA0}, 
{"\xD8\x94", 0x008CA1}, {"\xD8\x95", 0x008CA2}, {"\xD8\x96", 0x008CA3}, {"\xD8\x97", 0x008CA4}, 
{"\xD8\x98", 0x008CA5}, {"\xD8\x99", 0x008CA6}, {"\xD8\x9A", 0x008CA7}, {"\xD8\x9B", 0x008CA8}, 
{"\xD8\x9C", 0x008CA9}, {"\xD8\x9D", 0x008CAA}, {"\xD8\x9E", 0x008CAB}, {"\xD8\x9F", 0x008CAC}, 
{"\xD8\xA0", 0x008CAD}, {"\xD8\xA1", 0x004E8D}, {"\xD8\xA2", 0x004E0C}, {"\xD8\xA3", 0x005140}, 
{"\xD8\xA4", 0x004E10}, {"\xD8\xA5", 0x005EFF}, {"\xD8\xA6", 0x005345}, {"\xD8\xA7", 0x004E15}, 
{"\xD8\xA8", 0x004E98}, {"\xD8\xA9", 0x004E1E}, {"\xD8\xAA", 0x009B32}, {"\xD8\xAB", 0x005B6C}, 
{"\xD8\xAC", 0x005669}, {"\xD8\xAD", 0x004E28}, {"\xD8\xAE", 0x0079BA}, {"\xD8\xAF", 0x004E3F}, 
{"\xD8\xB0", 0x005315}, {"\xD8\xB1", 0x004E47}, {"\xD8\xB2", 0x00592D}, {"\xD8\xB3", 0x00723B}, 
{"\xD8\xB4", 0x00536E}, {"\xD8\xB5", 0x006C10}, {"\xD8\xB6", 0x0056DF}, {"\xD8\xB7", 0x0080E4}, 
{"\xD8\xB8", 0x009997}, {"\xD8\xB9", 0x006BD3}, {"\xD8\xBA", 0x00777E}, {"\xD8\xBB", 0x009F17}, 
{"\xD8\xBC", 0x004E36}, {"\xD8\xBD", 0x004E9F}, {"\xD8\xBE", 0x009F10}, {"\xD8\xBF", 0x004E5C}, 
{"\xD8\xC0", 0x004E69}, {"\xD8\xC1", 0x004E93}, {"\xD8\xC2", 0x008288}, {"\xD8\xC3", 0x005B5B}, 
{"\xD8\xC4", 0x00556C}, {"\xD8\xC5", 0x00560F}, {"\xD8\xC6", 0x004EC4}, {"\xD8\xC7", 0x00538D}, 
{"\xD8\xC8", 0x00539D}, {"\xD8\xC9", 0x0053A3}, {"\xD8\xCA", 0x0053A5}, {"\xD8\xCB", 0x0053AE}, 
{"\xD8\xCC", 0x009765}, {"\xD8\xCD", 0x008D5D}, {"\xD8\xCE", 0x00531A}, {"\xD8\xCF", 0x0053F5}, 
{"\xD8\xD0", 0x005326}, {"\xD8\xD1", 0x00532E}, {"\xD8\xD2", 0x00533E}, {"\xD8\xD3", 0x008D5C}, 
{"\xD8\xD4", 0x005366}, {"\xD8\xD5", 0x005363}, {"\xD8\xD6", 0x005202}, {"\xD8\xD7", 0x005208}, 
{"\xD8\xD8", 0x00520E}, {"\xD8\xD9", 0x00522D}, {"\xD8\xDA", 0x005233}, {"\xD8\xDB", 0x00523F}, 
{"\xD8\xDC", 0x005240}, {"\xD8\xDD", 0x00524C}, {"\xD8\xDE", 0x00525E}, {"\xD8\xDF", 0x005261}, 
{"\xD8\xE0", 0x00525C}, {"\xD8\xE1", 0x0084AF}, {"\xD8\xE2", 0x00527D}, {"\xD8\xE3", 0x005282}, 
{"\xD8\xE4", 0x005281}, {"\xD8\xE5", 0x005290}, {"\xD8\xE6", 0x005293}, {"\xD8\xE7", 0x005182}, 
{"\xD8\xE8", 0x007F54}, {"\xD8\xE9", 0x004EBB}, {"\xD8\xEA", 0x004EC3}, {"\xD8\xEB", 0x004EC9}, 
{"\xD8\xEC", 0x004EC2}, {"\xD8\xED", 0x004EE8}, {"\xD8\xEE", 0x004EE1}, {"\xD8\xEF", 0x004EEB}, 
{"\xD8\xF0", 0x004EDE}, {"\xD8\xF1", 0x004F1B}, {"\xD8\xF2", 0x004EF3}, {"\xD8\xF3", 0x004F22}, 
{"\xD8\xF4", 0x004F64}, {"\xD8\xF5", 0x004EF5}, {"\xD8\xF6", 0x004F25}, {"\xD8\xF7", 0x004F27}, 
{"\xD8\xF8", 0x004F09}, {"\xD8\xF9", 0x004F2B}, {"\xD8\xFA", 0x004F5E}, {"\xD8\xFB", 0x004F67}, 
{"\xD8\xFC", 0x006538}, {"\xD8\xFD", 0x004F5A}, {"\xD8\xFE", 0x004F5D}, {"\xD9\x40", 0x008CAE}, 
{"\xD9\x41", 0x008CAF}, {"\xD9\x42", 0x008CB0}, {"\xD9\x43", 0x008CB1}, {"\xD9\x44", 0x008CB2}, 
{"\xD9\x45", 0x008CB3}, {"\xD9\x46", 0x008CB4}, {"\xD9\x47", 0x008CB5}, {"\xD9\x48", 0x008CB6}, 
{"\xD9\x49", 0x008CB7}, {"\xD9\x4A", 0x008CB8}, {"\xD9\x4B", 0x008CB9}, {"\xD9\x4C", 0x008CBA}, 
{"\xD9\x4D", 0x008CBB}, {"\xD9\x4E", 0x008CBC}, {"\xD9\x4F", 0x008CBD}, {"\xD9\x50", 0x008CBE}, 
{"\xD9\x51", 0x008CBF}, {"\xD9\x52", 0x008CC0}, {"\xD9\x53", 0x008CC1}, {"\xD9\x54", 0x008CC2}, 
{"\xD9\x55", 0x008CC3}, {"\xD9\x56", 0x008CC4}, {"\xD9\x57", 0x008CC5}, {"\xD9\x58", 0x008CC6}, 
{"\xD9\x59", 0x008CC7}, {"\xD9\x5A", 0x008CC8}, {"\xD9\x5B", 0x008CC9}, {"\xD9\x5C", 0x008CCA}, 
{"\xD9\x5D", 0x008CCB}, {"\xD9\x5E", 0x008CCC}, {"\xD9\x5F", 0x008CCD}, {"\xD9\x60", 0x008CCE}, 
{"\xD9\x61", 0x008CCF}, {"\xD9\x62", 0x008CD0}, {"\xD9\x63", 0x008CD1}, {"\xD9\x64", 0x008CD2}, 
{"\xD9\x65", 0x008CD3}, {"\xD9\x66", 0x008CD4}, {"\xD9\x67", 0x008CD5}, {"\xD9\x68", 0x008CD6}, 
{"\xD9\x69", 0x008CD7}, {"\xD9\x6A", 0x008CD8}, {"\xD9\x6B", 0x008CD9}, {"\xD9\x6C", 0x008CDA}, 
{"\xD9\x6D", 0x008CDB}, {"\xD9\x6E", 0x008CDC}, {"\xD9\x6F", 0x008CDD}, {"\xD9\x70", 0x008CDE}, 

};
 for(size_t i=1; i<sizeof(db2bmp_41_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_41_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_42_gb18030_init()
{
static MB2UData db2bmp_42_gb18030 [] = { {"", 0}, 
{"\xD9\x71", 0x008CDF}, {"\xD9\x72", 0x008CE0}, {"\xD9\x73", 0x008CE1}, {"\xD9\x74", 0x008CE2}, 
{"\xD9\x75", 0x008CE3}, {"\xD9\x76", 0x008CE4}, {"\xD9\x77", 0x008CE5}, {"\xD9\x78", 0x008CE6}, 
{"\xD9\x79", 0x008CE7}, {"\xD9\x7A", 0x008CE8}, {"\xD9\x7B", 0x008CE9}, {"\xD9\x7C", 0x008CEA}, 
{"\xD9\x7D", 0x008CEB}, {"\xD9\x7E", 0x008CEC}, {"\xD9\x80", 0x008CED}, {"\xD9\x81", 0x008CEE}, 
{"\xD9\x82", 0x008CEF}, {"\xD9\x83", 0x008CF0}, {"\xD9\x84", 0x008CF1}, {"\xD9\x85", 0x008CF2}, 
{"\xD9\x86", 0x008CF3}, {"\xD9\x87", 0x008CF4}, {"\xD9\x88", 0x008CF5}, {"\xD9\x89", 0x008CF6}, 
{"\xD9\x8A", 0x008CF7}, {"\xD9\x8B", 0x008CF8}, {"\xD9\x8C", 0x008CF9}, {"\xD9\x8D", 0x008CFA}, 
{"\xD9\x8E", 0x008CFB}, {"\xD9\x8F", 0x008CFC}, {"\xD9\x90", 0x008CFD}, {"\xD9\x91", 0x008CFE}, 
{"\xD9\x92", 0x008CFF}, {"\xD9\x93", 0x008D00}, {"\xD9\x94", 0x008D01}, {"\xD9\x95", 0x008D02}, 
{"\xD9\x96", 0x008D03}, {"\xD9\x97", 0x008D04}, {"\xD9\x98", 0x008D05}, {"\xD9\x99", 0x008D06}, 
{"\xD9\x9A", 0x008D07}, {"\xD9\x9B", 0x008D08}, {"\xD9\x9C", 0x008D09}, {"\xD9\x9D", 0x008D0A}, 
{"\xD9\x9E", 0x008D0B}, {"\xD9\x9F", 0x008D0C}, {"\xD9\xA0", 0x008D0D}, {"\xD9\xA1", 0x004F5F}, 
{"\xD9\xA2", 0x004F57}, {"\xD9\xA3", 0x004F32}, {"\xD9\xA4", 0x004F3D}, {"\xD9\xA5", 0x004F76}, 
{"\xD9\xA6", 0x004F74}, {"\xD9\xA7", 0x004F91}, {"\xD9\xA8", 0x004F89}, {"\xD9\xA9", 0x004F83}, 
{"\xD9\xAA", 0x004F8F}, {"\xD9\xAB", 0x004F7E}, {"\xD9\xAC", 0x004F7B}, {"\xD9\xAD", 0x004FAA}, 
{"\xD9\xAE", 0x004F7C}, {"\xD9\xAF", 0x004FAC}, {"\xD9\xB0", 0x004F94}, {"\xD9\xB1", 0x004FE6}, 
{"\xD9\xB2", 0x004FE8}, {"\xD9\xB3", 0x004FEA}, {"\xD9\xB4", 0x004FC5}, {"\xD9\xB5", 0x004FDA}, 
{"\xD9\xB6", 0x004FE3}, {"\xD9\xB7", 0x004FDC}, {"\xD9\xB8", 0x004FD1}, {"\xD9\xB9", 0x004FDF}, 
{"\xD9\xBA", 0x004FF8}, {"\xD9\xBB", 0x005029}, {"\xD9\xBC", 0x00504C}, {"\xD9\xBD", 0x004FF3}, 
{"\xD9\xBE", 0x00502C}, {"\xD9\xBF", 0x00500F}, {"\xD9\xC0", 0x00502E}, {"\xD9\xC1", 0x00502D}, 
{"\xD9\xC2", 0x004FFE}, {"\xD9\xC3", 0x00501C}, {"\xD9\xC4", 0x00500C}, {"\xD9\xC5", 0x005025}, 
{"\xD9\xC6", 0x005028}, {"\xD9\xC7", 0x00507E}, {"\xD9\xC8", 0x005043}, {"\xD9\xC9", 0x005055}, 
{"\xD9\xCA", 0x005048}, {"\xD9\xCB", 0x00504E}, {"\xD9\xCC", 0x00506C}, {"\xD9\xCD", 0x00507B}, 
{"\xD9\xCE", 0x0050A5}, {"\xD9\xCF", 0x0050A7}, {"\xD9\xD0", 0x0050A9}, {"\xD9\xD1", 0x0050BA}, 
{"\xD9\xD2", 0x0050D6}, {"\xD9\xD3", 0x005106}, {"\xD9\xD4", 0x0050ED}, {"\xD9\xD5", 0x0050EC}, 
{"\xD9\xD6", 0x0050E6}, {"\xD9\xD7", 0x0050EE}, {"\xD9\xD8", 0x005107}, {"\xD9\xD9", 0x00510B}, 
{"\xD9\xDA", 0x004EDD}, {"\xD9\xDB", 0x006C3D}, {"\xD9\xDC", 0x004F58}, {"\xD9\xDD", 0x004F65}, 
{"\xD9\xDE", 0x004FCE}, {"\xD9\xDF", 0x009FA0}, {"\xD9\xE0", 0x006C46}, {"\xD9\xE1", 0x007C74}, 
{"\xD9\xE2", 0x00516E}, {"\xD9\xE3", 0x005DFD}, {"\xD9\xE4", 0x009EC9}, {"\xD9\xE5", 0x009998}, 
{"\xD9\xE6", 0x005181}, {"\xD9\xE7", 0x005914}, {"\xD9\xE8", 0x0052F9}, {"\xD9\xE9", 0x00530D}, 
{"\xD9\xEA", 0x008A07}, {"\xD9\xEB", 0x005310}, {"\xD9\xEC", 0x0051EB}, {"\xD9\xED", 0x005919}, 
{"\xD9\xEE", 0x005155}, {"\xD9\xEF", 0x004EA0}, {"\xD9\xF0", 0x005156}, {"\xD9\xF1", 0x004EB3}, 
{"\xD9\xF2", 0x00886E}, {"\xD9\xF3", 0x0088A4}, {"\xD9\xF4", 0x004EB5}, {"\xD9\xF5", 0x008114}, 
{"\xD9\xF6", 0x0088D2}, {"\xD9\xF7", 0x007980}, {"\xD9\xF8", 0x005B34}, {"\xD9\xF9", 0x008803}, 
{"\xD9\xFA", 0x007FB8}, {"\xD9\xFB", 0x0051AB}, {"\xD9\xFC", 0x0051B1}, {"\xD9\xFD", 0x0051BD}, 
{"\xD9\xFE", 0x0051BC}, {"\xDA\x40", 0x008D0E}, {"\xDA\x41", 0x008D0F}, {"\xDA\x42", 0x008D10}, 
{"\xDA\x43", 0x008D11}, {"\xDA\x44", 0x008D12}, {"\xDA\x45", 0x008D13}, {"\xDA\x46", 0x008D14}, 
{"\xDA\x47", 0x008D15}, {"\xDA\x48", 0x008D16}, {"\xDA\x49", 0x008D17}, {"\xDA\x4A", 0x008D18}, 
{"\xDA\x4B", 0x008D19}, {"\xDA\x4C", 0x008D1A}, {"\xDA\x4D", 0x008D1B}, {"\xDA\x4E", 0x008D1C}, 
{"\xDA\x4F", 0x008D20}, {"\xDA\x50", 0x008D51}, {"\xDA\x51", 0x008D52}, {"\xDA\x52", 0x008D57}, 
{"\xDA\x53", 0x008D5F}, {"\xDA\x54", 0x008D65}, {"\xDA\x55", 0x008D68}, {"\xDA\x56", 0x008D69}, 
{"\xDA\x57", 0x008D6A}, {"\xDA\x58", 0x008D6C}, {"\xDA\x59", 0x008D6E}, {"\xDA\x5A", 0x008D6F}, 
{"\xDA\x5B", 0x008D71}, {"\xDA\x5C", 0x008D72}, {"\xDA\x5D", 0x008D78}, {"\xDA\x5E", 0x008D79}, 
{"\xDA\x5F", 0x008D7A}, {"\xDA\x60", 0x008D7B}, {"\xDA\x61", 0x008D7C}, {"\xDA\x62", 0x008D7D}, 
{"\xDA\x63", 0x008D7E}, {"\xDA\x64", 0x008D7F}, {"\xDA\x65", 0x008D80}, {"\xDA\x66", 0x008D82}, 
{"\xDA\x67", 0x008D83}, {"\xDA\x68", 0x008D86}, {"\xDA\x69", 0x008D87}, {"\xDA\x6A", 0x008D88}, 
{"\xDA\x6B", 0x008D89}, {"\xDA\x6C", 0x008D8C}, {"\xDA\x6D", 0x008D8D}, {"\xDA\x6E", 0x008D8E}, 
{"\xDA\x6F", 0x008D8F}, {"\xDA\x70", 0x008D90}, {"\xDA\x71", 0x008D92}, {"\xDA\x72", 0x008D93}, 
{"\xDA\x73", 0x008D95}, {"\xDA\x74", 0x008D96}, {"\xDA\x75", 0x008D97}, {"\xDA\x76", 0x008D98}, 
{"\xDA\x77", 0x008D99}, {"\xDA\x78", 0x008D9A}, {"\xDA\x79", 0x008D9B}, {"\xDA\x7A", 0x008D9C}, 
{"\xDA\x7B", 0x008D9D}, {"\xDA\x7C", 0x008D9E}, {"\xDA\x7D", 0x008DA0}, {"\xDA\x7E", 0x008DA1}, 
{"\xDA\x80", 0x008DA2}, {"\xDA\x81", 0x008DA4}, {"\xDA\x82", 0x008DA5}, {"\xDA\x83", 0x008DA6}, 
{"\xDA\x84", 0x008DA7}, {"\xDA\x85", 0x008DA8}, {"\xDA\x86", 0x008DA9}, {"\xDA\x87", 0x008DAA}, 
{"\xDA\x88", 0x008DAB}, {"\xDA\x89", 0x008DAC}, {"\xDA\x8A", 0x008DAD}, {"\xDA\x8B", 0x008DAE}, 
{"\xDA\x8C", 0x008DAF}, {"\xDA\x8D", 0x008DB0}, {"\xDA\x8E", 0x008DB2}, {"\xDA\x8F", 0x008DB6}, 
{"\xDA\x90", 0x008DB7}, {"\xDA\x91", 0x008DB9}, {"\xDA\x92", 0x008DBB}, {"\xDA\x93", 0x008DBD}, 
{"\xDA\x94", 0x008DC0}, {"\xDA\x95", 0x008DC1}, {"\xDA\x96", 0x008DC2}, {"\xDA\x97", 0x008DC5}, 
{"\xDA\x98", 0x008DC7}, {"\xDA\x99", 0x008DC8}, {"\xDA\x9A", 0x008DC9}, {"\xDA\x9B", 0x008DCA}, 
{"\xDA\x9C", 0x008DCD}, {"\xDA\x9D", 0x008DD0}, {"\xDA\x9E", 0x008DD2}, {"\xDA\x9F", 0x008DD3}, 
{"\xDA\xA0", 0x008DD4}, {"\xDA\xA1", 0x0051C7}, {"\xDA\xA2", 0x005196}, {"\xDA\xA3", 0x0051A2}, 
{"\xDA\xA4", 0x0051A5}, {"\xDA\xA5", 0x008BA0}, {"\xDA\xA6", 0x008BA6}, {"\xDA\xA7", 0x008BA7}, 
{"\xDA\xA8", 0x008BAA}, {"\xDA\xA9", 0x008BB4}, {"\xDA\xAA", 0x008BB5}, {"\xDA\xAB", 0x008BB7}, 
{"\xDA\xAC", 0x008BC2}, {"\xDA\xAD", 0x008BC3}, {"\xDA\xAE", 0x008BCB}, {"\xDA\xAF", 0x008BCF}, 
{"\xDA\xB0", 0x008BCE}, {"\xDA\xB1", 0x008BD2}, {"\xDA\xB2", 0x008BD3}, {"\xDA\xB3", 0x008BD4}, 

};
 for(size_t i=1; i<sizeof(db2bmp_42_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_42_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_43_gb18030_init()
{
static MB2UData db2bmp_43_gb18030 [] = { {"", 0}, 
{"\xDA\xB4", 0x008BD6}, {"\xDA\xB5", 0x008BD8}, {"\xDA\xB6", 0x008BD9}, {"\xDA\xB7", 0x008BDC}, 
{"\xDA\xB8", 0x008BDF}, {"\xDA\xB9", 0x008BE0}, {"\xDA\xBA", 0x008BE4}, {"\xDA\xBB", 0x008BE8}, 
{"\xDA\xBC", 0x008BE9}, {"\xDA\xBD", 0x008BEE}, {"\xDA\xBE", 0x008BF0}, {"\xDA\xBF", 0x008BF3}, 
{"\xDA\xC0", 0x008BF6}, {"\xDA\xC1", 0x008BF9}, {"\xDA\xC2", 0x008BFC}, {"\xDA\xC3", 0x008BFF}, 
{"\xDA\xC4", 0x008C00}, {"\xDA\xC5", 0x008C02}, {"\xDA\xC6", 0x008C04}, {"\xDA\xC7", 0x008C07}, 
{"\xDA\xC8", 0x008C0C}, {"\xDA\xC9", 0x008C0F}, {"\xDA\xCA", 0x008C11}, {"\xDA\xCB", 0x008C12}, 
{"\xDA\xCC", 0x008C14}, {"\xDA\xCD", 0x008C15}, {"\xDA\xCE", 0x008C16}, {"\xDA\xCF", 0x008C19}, 
{"\xDA\xD0", 0x008C1B}, {"\xDA\xD1", 0x008C18}, {"\xDA\xD2", 0x008C1D}, {"\xDA\xD3", 0x008C1F}, 
{"\xDA\xD4", 0x008C20}, {"\xDA\xD5", 0x008C21}, {"\xDA\xD6", 0x008C25}, {"\xDA\xD7", 0x008C27}, 
{"\xDA\xD8", 0x008C2A}, {"\xDA\xD9", 0x008C2B}, {"\xDA\xDA", 0x008C2E}, {"\xDA\xDB", 0x008C2F}, 
{"\xDA\xDC", 0x008C32}, {"\xDA\xDD", 0x008C33}, {"\xDA\xDE", 0x008C35}, {"\xDA\xDF", 0x008C36}, 
{"\xDA\xE0", 0x005369}, {"\xDA\xE1", 0x00537A}, {"\xDA\xE2", 0x00961D}, {"\xDA\xE3", 0x009622}, 
{"\xDA\xE4", 0x009621}, {"\xDA\xE5", 0x009631}, {"\xDA\xE6", 0x00962A}, {"\xDA\xE7", 0x00963D}, 
{"\xDA\xE8", 0x00963C}, {"\xDA\xE9", 0x009642}, {"\xDA\xEA", 0x009649}, {"\xDA\xEB", 0x009654}, 
{"\xDA\xEC", 0x00965F}, {"\xDA\xED", 0x009667}, {"\xDA\xEE", 0x00966C}, {"\xDA\xEF", 0x009672}, 
{"\xDA\xF0", 0x009674}, {"\xDA\xF1", 0x009688}, {"\xDA\xF2", 0x00968D}, {"\xDA\xF3", 0x009697}, 
{"\xDA\xF4", 0x0096B0}, {"\xDA\xF5", 0x009097}, {"\xDA\xF6", 0x00909B}, {"\xDA\xF7", 0x00909D}, 
{"\xDA\xF8", 0x009099}, {"\xDA\xF9", 0x0090AC}, {"\xDA\xFA", 0x0090A1}, {"\xDA\xFB", 0x0090B4}, 
{"\xDA\xFC", 0x0090B3}, {"\xDA\xFD", 0x0090B6}, {"\xDA\xFE", 0x0090BA}, {"\xDB\x40", 0x008DD5}, 
{"\xDB\x41", 0x008DD8}, {"\xDB\x42", 0x008DD9}, {"\xDB\x43", 0x008DDC}, {"\xDB\x44", 0x008DE0}, 
{"\xDB\x45", 0x008DE1}, {"\xDB\x46", 0x008DE2}, {"\xDB\x47", 0x008DE5}, {"\xDB\x48", 0x008DE6}, 
{"\xDB\x49", 0x008DE7}, {"\xDB\x4A", 0x008DE9}, {"\xDB\x4B", 0x008DED}, {"\xDB\x4C", 0x008DEE}, 
{"\xDB\x4D", 0x008DF0}, {"\xDB\x4E", 0x008DF1}, {"\xDB\x4F", 0x008DF2}, {"\xDB\x50", 0x008DF4}, 
{"\xDB\x51", 0x008DF6}, {"\xDB\x52", 0x008DFC}, {"\xDB\x53", 0x008DFE}, {"\xDB\x54", 0x008DFF}, 
{"\xDB\x55", 0x008E00}, {"\xDB\x56", 0x008E01}, {"\xDB\x57", 0x008E02}, {"\xDB\x58", 0x008E03}, 
{"\xDB\x59", 0x008E04}, {"\xDB\x5A", 0x008E06}, {"\xDB\x5B", 0x008E07}, {"\xDB\x5C", 0x008E08}, 
{"\xDB\x5D", 0x008E0B}, {"\xDB\x5E", 0x008E0D}, {"\xDB\x5F", 0x008E0E}, {"\xDB\x60", 0x008E10}, 
{"\xDB\x61", 0x008E11}, {"\xDB\x62", 0x008E12}, {"\xDB\x63", 0x008E13}, {"\xDB\x64", 0x008E15}, 
{"\xDB\x65", 0x008E16}, {"\xDB\x66", 0x008E17}, {"\xDB\x67", 0x008E18}, {"\xDB\x68", 0x008E19}, 
{"\xDB\x69", 0x008E1A}, {"\xDB\x6A", 0x008E1B}, {"\xDB\x6B", 0x008E1C}, {"\xDB\x6C", 0x008E20}, 
{"\xDB\x6D", 0x008E21}, {"\xDB\x6E", 0x008E24}, {"\xDB\x6F", 0x008E25}, {"\xDB\x70", 0x008E26}, 
{"\xDB\x71", 0x008E27}, {"\xDB\x72", 0x008E28}, {"\xDB\x73", 0x008E2B}, {"\xDB\x74", 0x008E2D}, 
{"\xDB\x75", 0x008E30}, {"\xDB\x76", 0x008E32}, {"\xDB\x77", 0x008E33}, {"\xDB\x78", 0x008E34}, 
{"\xDB\x79", 0x008E36}, {"\xDB\x7A", 0x008E37}, {"\xDB\x7B", 0x008E38}, {"\xDB\x7C", 0x008E3B}, 
{"\xDB\x7D", 0x008E3C}, {"\xDB\x7E", 0x008E3E}, {"\xDB\x80", 0x008E3F}, {"\xDB\x81", 0x008E43}, 
{"\xDB\x82", 0x008E45}, {"\xDB\x83", 0x008E46}, {"\xDB\x84", 0x008E4C}, {"\xDB\x85", 0x008E4D}, 
{"\xDB\x86", 0x008E4E}, {"\xDB\x87", 0x008E4F}, {"\xDB\x88", 0x008E50}, {"\xDB\x89", 0x008E53}, 
{"\xDB\x8A", 0x008E54}, {"\xDB\x8B", 0x008E55}, {"\xDB\x8C", 0x008E56}, {"\xDB\x8D", 0x008E57}, 
{"\xDB\x8E", 0x008E58}, {"\xDB\x8F", 0x008E5A}, {"\xDB\x90", 0x008E5B}, {"\xDB\x91", 0x008E5C}, 
{"\xDB\x92", 0x008E5D}, {"\xDB\x93", 0x008E5E}, {"\xDB\x94", 0x008E5F}, {"\xDB\x95", 0x008E60}, 
{"\xDB\x96", 0x008E61}, {"\xDB\x97", 0x008E62}, {"\xDB\x98", 0x008E63}, {"\xDB\x99", 0x008E64}, 
{"\xDB\x9A", 0x008E65}, {"\xDB\x9B", 0x008E67}, {"\xDB\x9C", 0x008E68}, {"\xDB\x9D", 0x008E6A}, 
{"\xDB\x9E", 0x008E6B}, {"\xDB\x9F", 0x008E6E}, {"\xDB\xA0", 0x008E71}, {"\xDB\xA1", 0x0090B8}, 
{"\xDB\xA2", 0x0090B0}, {"\xDB\xA3", 0x0090CF}, {"\xDB\xA4", 0x0090C5}, {"\xDB\xA5", 0x0090BE}, 
{"\xDB\xA6", 0x0090D0}, {"\xDB\xA7", 0x0090C4}, {"\xDB\xA8", 0x0090C7}, {"\xDB\xA9", 0x0090D3}, 
{"\xDB\xAA", 0x0090E6}, {"\xDB\xAB", 0x0090E2}, {"\xDB\xAC", 0x0090DC}, {"\xDB\xAD", 0x0090D7}, 
{"\xDB\xAE", 0x0090DB}, {"\xDB\xAF", 0x0090EB}, {"\xDB\xB0", 0x0090EF}, {"\xDB\xB1", 0x0090FE}, 
{"\xDB\xB2", 0x009104}, {"\xDB\xB3", 0x009122}, {"\xDB\xB4", 0x00911E}, {"\xDB\xB5", 0x009123}, 
{"\xDB\xB6", 0x009131}, {"\xDB\xB7", 0x00912F}, {"\xDB\xB8", 0x009139}, {"\xDB\xB9", 0x009143}, 
{"\xDB\xBA", 0x009146}, {"\xDB\xBB", 0x00520D}, {"\xDB\xBC", 0x005942}, {"\xDB\xBD", 0x0052A2}, 
{"\xDB\xBE", 0x0052AC}, {"\xDB\xBF", 0x0052AD}, {"\xDB\xC0", 0x0052BE}, {"\xDB\xC1", 0x0054FF}, 
{"\xDB\xC2", 0x0052D0}, {"\xDB\xC3", 0x0052D6}, {"\xDB\xC4", 0x0052F0}, {"\xDB\xC5", 0x0053DF}, 
{"\xDB\xC6", 0x0071EE}, {"\xDB\xC7", 0x0077CD}, {"\xDB\xC8", 0x005EF4}, {"\xDB\xC9", 0x0051F5}, 
{"\xDB\xCA", 0x0051FC}, {"\xDB\xCB", 0x009B2F}, {"\xDB\xCC", 0x0053B6}, {"\xDB\xCD", 0x005F01}, 
{"\xDB\xCE", 0x00755A}, {"\xDB\xCF", 0x005DEF}, {"\xDB\xD0", 0x00574C}, {"\xDB\xD1", 0x0057A9}, 
{"\xDB\xD2", 0x0057A1}, {"\xDB\xD3", 0x00587E}, {"\xDB\xD4", 0x0058BC}, {"\xDB\xD5", 0x0058C5}, 
{"\xDB\xD6", 0x0058D1}, {"\xDB\xD7", 0x005729}, {"\xDB\xD8", 0x00572C}, {"\xDB\xD9", 0x00572A}, 
{"\xDB\xDA", 0x005733}, {"\xDB\xDB", 0x005739}, {"\xDB\xDC", 0x00572E}, {"\xDB\xDD", 0x00572F}, 
{"\xDB\xDE", 0x00575C}, {"\xDB\xDF", 0x00573B}, {"\xDB\xE0", 0x005742}, {"\xDB\xE1", 0x005769}, 
{"\xDB\xE2", 0x005785}, {"\xDB\xE3", 0x00576B}, {"\xDB\xE4", 0x005786}, {"\xDB\xE5", 0x00577C}, 
{"\xDB\xE6", 0x00577B}, {"\xDB\xE7", 0x005768}, {"\xDB\xE8", 0x00576D}, {"\xDB\xE9", 0x005776}, 
{"\xDB\xEA", 0x005773}, {"\xDB\xEB", 0x0057AD}, {"\xDB\xEC", 0x0057A4}, {"\xDB\xED", 0x00578C}, 
{"\xDB\xEE", 0x0057B2}, {"\xDB\xEF", 0x0057CF}, {"\xDB\xF0", 0x0057A7}, {"\xDB\xF1", 0x0057B4}, 
{"\xDB\xF2", 0x005793}, {"\xDB\xF3", 0x0057A0}, {"\xDB\xF4", 0x0057D5}, {"\xDB\xF5", 0x0057D8}, 

};
 for(size_t i=1; i<sizeof(db2bmp_43_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_43_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_44_gb18030_init()
{
static MB2UData db2bmp_44_gb18030 [] = { {"", 0}, 
{"\xDB\xF6", 0x0057DA}, {"\xDB\xF7", 0x0057D9}, {"\xDB\xF8", 0x0057D2}, {"\xDB\xF9", 0x0057B8}, 
{"\xDB\xFA", 0x0057F4}, {"\xDB\xFB", 0x0057EF}, {"\xDB\xFC", 0x0057F8}, {"\xDB\xFD", 0x0057E4}, 
{"\xDB\xFE", 0x0057DD}, {"\xDC\x40", 0x008E73}, {"\xDC\x41", 0x008E75}, {"\xDC\x42", 0x008E77}, 
{"\xDC\x43", 0x008E78}, {"\xDC\x44", 0x008E79}, {"\xDC\x45", 0x008E7A}, {"\xDC\x46", 0x008E7B}, 
{"\xDC\x47", 0x008E7D}, {"\xDC\x48", 0x008E7E}, {"\xDC\x49", 0x008E80}, {"\xDC\x4A", 0x008E82}, 
{"\xDC\x4B", 0x008E83}, {"\xDC\x4C", 0x008E84}, {"\xDC\x4D", 0x008E86}, {"\xDC\x4E", 0x008E88}, 
{"\xDC\x4F", 0x008E89}, {"\xDC\x50", 0x008E8A}, {"\xDC\x51", 0x008E8B}, {"\xDC\x52", 0x008E8C}, 
{"\xDC\x53", 0x008E8D}, {"\xDC\x54", 0x008E8E}, {"\xDC\x55", 0x008E91}, {"\xDC\x56", 0x008E92}, 
{"\xDC\x57", 0x008E93}, {"\xDC\x58", 0x008E95}, {"\xDC\x59", 0x008E96}, {"\xDC\x5A", 0x008E97}, 
{"\xDC\x5B", 0x008E98}, {"\xDC\x5C", 0x008E99}, {"\xDC\x5D", 0x008E9A}, {"\xDC\x5E", 0x008E9B}, 
{"\xDC\x5F", 0x008E9D}, {"\xDC\x60", 0x008E9F}, {"\xDC\x61", 0x008EA0}, {"\xDC\x62", 0x008EA1}, 
{"\xDC\x63", 0x008EA2}, {"\xDC\x64", 0x008EA3}, {"\xDC\x65", 0x008EA4}, {"\xDC\x66", 0x008EA5}, 
{"\xDC\x67", 0x008EA6}, {"\xDC\x68", 0x008EA7}, {"\xDC\x69", 0x008EA8}, {"\xDC\x6A", 0x008EA9}, 
{"\xDC\x6B", 0x008EAA}, {"\xDC\x6C", 0x008EAD}, {"\xDC\x6D", 0x008EAE}, {"\xDC\x6E", 0x008EB0}, 
{"\xDC\x6F", 0x008EB1}, {"\xDC\x70", 0x008EB3}, {"\xDC\x71", 0x008EB4}, {"\xDC\x72", 0x008EB5}, 
{"\xDC\x73", 0x008EB6}, {"\xDC\x74", 0x008EB7}, {"\xDC\x75", 0x008EB8}, {"\xDC\x76", 0x008EB9}, 
{"\xDC\x77", 0x008EBB}, {"\xDC\x78", 0x008EBC}, {"\xDC\x79", 0x008EBD}, {"\xDC\x7A", 0x008EBE}, 
{"\xDC\x7B", 0x008EBF}, {"\xDC\x7C", 0x008EC0}, {"\xDC\x7D", 0x008EC1}, {"\xDC\x7E", 0x008EC2}, 
{"\xDC\x80", 0x008EC3}, {"\xDC\x81", 0x008EC4}, {"\xDC\x82", 0x008EC5}, {"\xDC\x83", 0x008EC6}, 
{"\xDC\x84", 0x008EC7}, {"\xDC\x85", 0x008EC8}, {"\xDC\x86", 0x008EC9}, {"\xDC\x87", 0x008ECA}, 
{"\xDC\x88", 0x008ECB}, {"\xDC\x89", 0x008ECC}, {"\xDC\x8A", 0x008ECD}, {"\xDC\x8B", 0x008ECF}, 
{"\xDC\x8C", 0x008ED0}, {"\xDC\x8D", 0x008ED1}, {"\xDC\x8E", 0x008ED2}, {"\xDC\x8F", 0x008ED3}, 
{"\xDC\x90", 0x008ED4}, {"\xDC\x91", 0x008ED5}, {"\xDC\x92", 0x008ED6}, {"\xDC\x93", 0x008ED7}, 
{"\xDC\x94", 0x008ED8}, {"\xDC\x95", 0x008ED9}, {"\xDC\x96", 0x008EDA}, {"\xDC\x97", 0x008EDB}, 
{"\xDC\x98", 0x008EDC}, {"\xDC\x99", 0x008EDD}, {"\xDC\x9A", 0x008EDE}, {"\xDC\x9B", 0x008EDF}, 
{"\xDC\x9C", 0x008EE0}, {"\xDC\x9D", 0x008EE1}, {"\xDC\x9E", 0x008EE2}, {"\xDC\x9F", 0x008EE3}, 
{"\xDC\xA0", 0x008EE4}, {"\xDC\xA1", 0x00580B}, {"\xDC\xA2", 0x00580D}, {"\xDC\xA3", 0x0057FD}, 
{"\xDC\xA4", 0x0057ED}, {"\xDC\xA5", 0x005800}, {"\xDC\xA6", 0x00581E}, {"\xDC\xA7", 0x005819}, 
{"\xDC\xA8", 0x005844}, {"\xDC\xA9", 0x005820}, {"\xDC\xAA", 0x005865}, {"\xDC\xAB", 0x00586C}, 
{"\xDC\xAC", 0x005881}, {"\xDC\xAD", 0x005889}, {"\xDC\xAE", 0x00589A}, {"\xDC\xAF", 0x005880}, 
{"\xDC\xB0", 0x0099A8}, {"\xDC\xB1", 0x009F19}, {"\xDC\xB2", 0x0061FF}, {"\xDC\xB3", 0x008279}, 
{"\xDC\xB4", 0x00827D}, {"\xDC\xB5", 0x00827F}, {"\xDC\xB6", 0x00828F}, {"\xDC\xB7", 0x00828A}, 
{"\xDC\xB8", 0x0082A8}, {"\xDC\xB9", 0x008284}, {"\xDC\xBA", 0x00828E}, {"\xDC\xBB", 0x008291}, 
{"\xDC\xBC", 0x008297}, {"\xDC\xBD", 0x008299}, {"\xDC\xBE", 0x0082AB}, {"\xDC\xBF", 0x0082B8}, 
{"\xDC\xC0", 0x0082BE}, {"\xDC\xC1", 0x0082B0}, {"\xDC\xC2", 0x0082C8}, {"\xDC\xC3", 0x0082CA}, 
{"\xDC\xC4", 0x0082E3}, {"\xDC\xC5", 0x008298}, {"\xDC\xC6", 0x0082B7}, {"\xDC\xC7", 0x0082AE}, 
{"\xDC\xC8", 0x0082CB}, {"\xDC\xC9", 0x0082CC}, {"\xDC\xCA", 0x0082C1}, {"\xDC\xCB", 0x0082A9}, 
{"\xDC\xCC", 0x0082B4}, {"\xDC\xCD", 0x0082A1}, {"\xDC\xCE", 0x0082AA}, {"\xDC\xCF", 0x00829F}, 
{"\xDC\xD0", 0x0082C4}, {"\xDC\xD1", 0x0082CE}, {"\xDC\xD2", 0x0082A4}, {"\xDC\xD3", 0x0082E1}, 
{"\xDC\xD4", 0x008309}, {"\xDC\xD5", 0x0082F7}, {"\xDC\xD6", 0x0082E4}, {"\xDC\xD7", 0x00830F}, 
{"\xDC\xD8", 0x008307}, {"\xDC\xD9", 0x0082DC}, {"\xDC\xDA", 0x0082F4}, {"\xDC\xDB", 0x0082D2}, 
{"\xDC\xDC", 0x0082D8}, {"\xDC\xDD", 0x00830C}, {"\xDC\xDE", 0x0082FB}, {"\xDC\xDF", 0x0082D3}, 
{"\xDC\xE0", 0x008311}, {"\xDC\xE1", 0x00831A}, {"\xDC\xE2", 0x008306}, {"\xDC\xE3", 0x008314}, 
{"\xDC\xE4", 0x008315}, {"\xDC\xE5", 0x0082E0}, {"\xDC\xE6", 0x0082D5}, {"\xDC\xE7", 0x00831C}, 
{"\xDC\xE8", 0x008351}, {"\xDC\xE9", 0x00835B}, {"\xDC\xEA", 0x00835C}, {"\xDC\xEB", 0x008308}, 
{"\xDC\xEC", 0x008392}, {"\xDC\xED", 0x00833C}, {"\xDC\xEE", 0x008334}, {"\xDC\xEF", 0x008331}, 
{"\xDC\xF0", 0x00839B}, {"\xDC\xF1", 0x00835E}, {"\xDC\xF2", 0x00832F}, {"\xDC\xF3", 0x00834F}, 
{"\xDC\xF4", 0x008347}, {"\xDC\xF5", 0x008343}, {"\xDC\xF6", 0x00835F}, {"\xDC\xF7", 0x008340}, 
{"\xDC\xF8", 0x008317}, {"\xDC\xF9", 0x008360}, {"\xDC\xFA", 0x00832D}, {"\xDC\xFB", 0x00833A}, 
{"\xDC\xFC", 0x008333}, {"\xDC\xFD", 0x008366}, {"\xDC\xFE", 0x008365}, {"\xDD\x40", 0x008EE5}, 
{"\xDD\x41", 0x008EE6}, {"\xDD\x42", 0x008EE7}, {"\xDD\x43", 0x008EE8}, {"\xDD\x44", 0x008EE9}, 
{"\xDD\x45", 0x008EEA}, {"\xDD\x46", 0x008EEB}, {"\xDD\x47", 0x008EEC}, {"\xDD\x48", 0x008EED}, 
{"\xDD\x49", 0x008EEE}, {"\xDD\x4A", 0x008EEF}, {"\xDD\x4B", 0x008EF0}, {"\xDD\x4C", 0x008EF1}, 
{"\xDD\x4D", 0x008EF2}, {"\xDD\x4E", 0x008EF3}, {"\xDD\x4F", 0x008EF4}, {"\xDD\x50", 0x008EF5}, 
{"\xDD\x51", 0x008EF6}, {"\xDD\x52", 0x008EF7}, {"\xDD\x53", 0x008EF8}, {"\xDD\x54", 0x008EF9}, 
{"\xDD\x55", 0x008EFA}, {"\xDD\x56", 0x008EFB}, {"\xDD\x57", 0x008EFC}, {"\xDD\x58", 0x008EFD}, 
{"\xDD\x59", 0x008EFE}, {"\xDD\x5A", 0x008EFF}, {"\xDD\x5B", 0x008F00}, {"\xDD\x5C", 0x008F01}, 
{"\xDD\x5D", 0x008F02}, {"\xDD\x5E", 0x008F03}, {"\xDD\x5F", 0x008F04}, {"\xDD\x60", 0x008F05}, 
{"\xDD\x61", 0x008F06}, {"\xDD\x62", 0x008F07}, {"\xDD\x63", 0x008F08}, {"\xDD\x64", 0x008F09}, 
{"\xDD\x65", 0x008F0A}, {"\xDD\x66", 0x008F0B}, {"\xDD\x67", 0x008F0C}, {"\xDD\x68", 0x008F0D}, 
{"\xDD\x69", 0x008F0E}, {"\xDD\x6A", 0x008F0F}, {"\xDD\x6B", 0x008F10}, {"\xDD\x6C", 0x008F11}, 
{"\xDD\x6D", 0x008F12}, {"\xDD\x6E", 0x008F13}, {"\xDD\x6F", 0x008F14}, {"\xDD\x70", 0x008F15}, 
{"\xDD\x71", 0x008F16}, {"\xDD\x72", 0x008F17}, {"\xDD\x73", 0x008F18}, {"\xDD\x74", 0x008F19}, 
{"\xDD\x75", 0x008F1A}, {"\xDD\x76", 0x008F1B}, {"\xDD\x77", 0x008F1C}, {"\xDD\x78", 0x008F1D}, 

};
 for(size_t i=1; i<sizeof(db2bmp_44_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_44_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_45_gb18030_init()
{
static MB2UData db2bmp_45_gb18030 [] = { {"", 0}, 
{"\xDD\x79", 0x008F1E}, {"\xDD\x7A", 0x008F1F}, {"\xDD\x7B", 0x008F20}, {"\xDD\x7C", 0x008F21}, 
{"\xDD\x7D", 0x008F22}, {"\xDD\x7E", 0x008F23}, {"\xDD\x80", 0x008F24}, {"\xDD\x81", 0x008F25}, 
{"\xDD\x82", 0x008F26}, {"\xDD\x83", 0x008F27}, {"\xDD\x84", 0x008F28}, {"\xDD\x85", 0x008F29}, 
{"\xDD\x86", 0x008F2A}, {"\xDD\x87", 0x008F2B}, {"\xDD\x88", 0x008F2C}, {"\xDD\x89", 0x008F2D}, 
{"\xDD\x8A", 0x008F2E}, {"\xDD\x8B", 0x008F2F}, {"\xDD\x8C", 0x008F30}, {"\xDD\x8D", 0x008F31}, 
{"\xDD\x8E", 0x008F32}, {"\xDD\x8F", 0x008F33}, {"\xDD\x90", 0x008F34}, {"\xDD\x91", 0x008F35}, 
{"\xDD\x92", 0x008F36}, {"\xDD\x93", 0x008F37}, {"\xDD\x94", 0x008F38}, {"\xDD\x95", 0x008F39}, 
{"\xDD\x96", 0x008F3A}, {"\xDD\x97", 0x008F3B}, {"\xDD\x98", 0x008F3C}, {"\xDD\x99", 0x008F3D}, 
{"\xDD\x9A", 0x008F3E}, {"\xDD\x9B", 0x008F3F}, {"\xDD\x9C", 0x008F40}, {"\xDD\x9D", 0x008F41}, 
{"\xDD\x9E", 0x008F42}, {"\xDD\x9F", 0x008F43}, {"\xDD\xA0", 0x008F44}, {"\xDD\xA1", 0x008368}, 
{"\xDD\xA2", 0x00831B}, {"\xDD\xA3", 0x008369}, {"\xDD\xA4", 0x00836C}, {"\xDD\xA5", 0x00836A}, 
{"\xDD\xA6", 0x00836D}, {"\xDD\xA7", 0x00836E}, {"\xDD\xA8", 0x0083B0}, {"\xDD\xA9", 0x008378}, 
{"\xDD\xAA", 0x0083B3}, {"\xDD\xAB", 0x0083B4}, {"\xDD\xAC", 0x0083A0}, {"\xDD\xAD", 0x0083AA}, 
{"\xDD\xAE", 0x008393}, {"\xDD\xAF", 0x00839C}, {"\xDD\xB0", 0x008385}, {"\xDD\xB1", 0x00837C}, 
{"\xDD\xB2", 0x0083B6}, {"\xDD\xB3", 0x0083A9}, {"\xDD\xB4", 0x00837D}, {"\xDD\xB5", 0x0083B8}, 
{"\xDD\xB6", 0x00837B}, {"\xDD\xB7", 0x008398}, {"\xDD\xB8", 0x00839E}, {"\xDD\xB9", 0x0083A8}, 
{"\xDD\xBA", 0x0083BA}, {"\xDD\xBB", 0x0083BC}, {"\xDD\xBC", 0x0083C1}, {"\xDD\xBD", 0x008401}, 
{"\xDD\xBE", 0x0083E5}, {"\xDD\xBF", 0x0083D8}, {"\xDD\xC0", 0x005807}, {"\xDD\xC1", 0x008418}, 
{"\xDD\xC2", 0x00840B}, {"\xDD\xC3", 0x0083DD}, {"\xDD\xC4", 0x0083FD}, {"\xDD\xC5", 0x0083D6}, 
{"\xDD\xC6", 0x00841C}, {"\xDD\xC7", 0x008438}, {"\xDD\xC8", 0x008411}, {"\xDD\xC9", 0x008406}, 
{"\xDD\xCA", 0x0083D4}, {"\xDD\xCB", 0x0083DF}, {"\xDD\xCC", 0x00840F}, {"\xDD\xCD", 0x008403}, 
{"\xDD\xCE", 0x0083F8}, {"\xDD\xCF", 0x0083F9}, {"\xDD\xD0", 0x0083EA}, {"\xDD\xD1", 0x0083C5}, 
{"\xDD\xD2", 0x0083C0}, {"\xDD\xD3", 0x008426}, {"\xDD\xD4", 0x0083F0}, {"\xDD\xD5", 0x0083E1}, 
{"\xDD\xD6", 0x00845C}, {"\xDD\xD7", 0x008451}, {"\xDD\xD8", 0x00845A}, {"\xDD\xD9", 0x008459}, 
{"\xDD\xDA", 0x008473}, {"\xDD\xDB", 0x008487}, {"\xDD\xDC", 0x008488}, {"\xDD\xDD", 0x00847A}, 
{"\xDD\xDE", 0x008489}, {"\xDD\xDF", 0x008478}, {"\xDD\xE0", 0x00843C}, {"\xDD\xE1", 0x008446}, 
{"\xDD\xE2", 0x008469}, {"\xDD\xE3", 0x008476}, {"\xDD\xE4", 0x00848C}, {"\xDD\xE5", 0x00848E}, 
{"\xDD\xE6", 0x008431}, {"\xDD\xE7", 0x00846D}, {"\xDD\xE8", 0x0084C1}, {"\xDD\xE9", 0x0084CD}, 
{"\xDD\xEA", 0x0084D0}, {"\xDD\xEB", 0x0084E6}, {"\xDD\xEC", 0x0084BD}, {"\xDD\xED", 0x0084D3}, 
{"\xDD\xEE", 0x0084CA}, {"\xDD\xEF", 0x0084BF}, {"\xDD\xF0", 0x0084BA}, {"\xDD\xF1", 0x0084E0}, 
{"\xDD\xF2", 0x0084A1}, {"\xDD\xF3", 0x0084B9}, {"\xDD\xF4", 0x0084B4}, {"\xDD\xF5", 0x008497}, 
{"\xDD\xF6", 0x0084E5}, {"\xDD\xF7", 0x0084E3}, {"\xDD\xF8", 0x00850C}, {"\xDD\xF9", 0x00750D}, 
{"\xDD\xFA", 0x008538}, {"\xDD\xFB", 0x0084F0}, {"\xDD\xFC", 0x008539}, {"\xDD\xFD", 0x00851F}, 
{"\xDD\xFE", 0x00853A}, {"\xDE\x40", 0x008F45}, {"\xDE\x41", 0x008F46}, {"\xDE\x42", 0x008F47}, 
{"\xDE\x43", 0x008F48}, {"\xDE\x44", 0x008F49}, {"\xDE\x45", 0x008F4A}, {"\xDE\x46", 0x008F4B}, 
{"\xDE\x47", 0x008F4C}, {"\xDE\x48", 0x008F4D}, {"\xDE\x49", 0x008F4E}, {"\xDE\x4A", 0x008F4F}, 
{"\xDE\x4B", 0x008F50}, {"\xDE\x4C", 0x008F51}, {"\xDE\x4D", 0x008F52}, {"\xDE\x4E", 0x008F53}, 
{"\xDE\x4F", 0x008F54}, {"\xDE\x50", 0x008F55}, {"\xDE\x51", 0x008F56}, {"\xDE\x52", 0x008F57}, 
{"\xDE\x53", 0x008F58}, {"\xDE\x54", 0x008F59}, {"\xDE\x55", 0x008F5A}, {"\xDE\x56", 0x008F5B}, 
{"\xDE\x57", 0x008F5C}, {"\xDE\x58", 0x008F5D}, {"\xDE\x59", 0x008F5E}, {"\xDE\x5A", 0x008F5F}, 
{"\xDE\x5B", 0x008F60}, {"\xDE\x5C", 0x008F61}, {"\xDE\x5D", 0x008F62}, {"\xDE\x5E", 0x008F63}, 
{"\xDE\x5F", 0x008F64}, {"\xDE\x60", 0x008F65}, {"\xDE\x61", 0x008F6A}, {"\xDE\x62", 0x008F80}, 
{"\xDE\x63", 0x008F8C}, {"\xDE\x64", 0x008F92}, {"\xDE\x65", 0x008F9D}, {"\xDE\x66", 0x008FA0}, 
{"\xDE\x67", 0x008FA1}, {"\xDE\x68", 0x008FA2}, {"\xDE\x69", 0x008FA4}, {"\xDE\x6A", 0x008FA5}, 
{"\xDE\x6B", 0x008FA6}, {"\xDE\x6C", 0x008FA7}, {"\xDE\x6D", 0x008FAA}, {"\xDE\x6E", 0x008FAC}, 
{"\xDE\x6F", 0x008FAD}, {"\xDE\x70", 0x008FAE}, {"\xDE\x71", 0x008FAF}, {"\xDE\x72", 0x008FB2}, 
{"\xDE\x73", 0x008FB3}, {"\xDE\x74", 0x008FB4}, {"\xDE\x75", 0x008FB5}, {"\xDE\x76", 0x008FB7}, 
{"\xDE\x77", 0x008FB8}, {"\xDE\x78", 0x008FBA}, {"\xDE\x79", 0x008FBB}, {"\xDE\x7A", 0x008FBC}, 
{"\xDE\x7B", 0x008FBF}, {"\xDE\x7C", 0x008FC0}, {"\xDE\x7D", 0x008FC3}, {"\xDE\x7E", 0x008FC6}, 
{"\xDE\x80", 0x008FC9}, {"\xDE\x81", 0x008FCA}, {"\xDE\x82", 0x008FCB}, {"\xDE\x83", 0x008FCC}, 
{"\xDE\x84", 0x008FCD}, {"\xDE\x85", 0x008FCF}, {"\xDE\x86", 0x008FD2}, {"\xDE\x87", 0x008FD6}, 
{"\xDE\x88", 0x008FD7}, {"\xDE\x89", 0x008FDA}, {"\xDE\x8A", 0x008FE0}, {"\xDE\x8B", 0x008FE1}, 
{"\xDE\x8C", 0x008FE3}, {"\xDE\x8D", 0x008FE7}, {"\xDE\x8E", 0x008FEC}, {"\xDE\x8F", 0x008FEF}, 
{"\xDE\x90", 0x008FF1}, {"\xDE\x91", 0x008FF2}, {"\xDE\x92", 0x008FF4}, {"\xDE\x93", 0x008FF5}, 
{"\xDE\x94", 0x008FF6}, {"\xDE\x95", 0x008FFA}, {"\xDE\x96", 0x008FFB}, {"\xDE\x97", 0x008FFC}, 
{"\xDE\x98", 0x008FFE}, {"\xDE\x99", 0x008FFF}, {"\xDE\x9A", 0x009007}, {"\xDE\x9B", 0x009008}, 
{"\xDE\x9C", 0x00900C}, {"\xDE\x9D", 0x00900E}, {"\xDE\x9E", 0x009013}, {"\xDE\x9F", 0x009015}, 
{"\xDE\xA0", 0x009018}, {"\xDE\xA1", 0x008556}, {"\xDE\xA2", 0x00853B}, {"\xDE\xA3", 0x0084FF}, 
{"\xDE\xA4", 0x0084FC}, {"\xDE\xA5", 0x008559}, {"\xDE\xA6", 0x008548}, {"\xDE\xA7", 0x008568}, 
{"\xDE\xA8", 0x008564}, {"\xDE\xA9", 0x00855E}, {"\xDE\xAA", 0x00857A}, {"\xDE\xAB", 0x0077A2}, 
{"\xDE\xAC", 0x008543}, {"\xDE\xAD", 0x008572}, {"\xDE\xAE", 0x00857B}, {"\xDE\xAF", 0x0085A4}, 
{"\xDE\xB0", 0x0085A8}, {"\xDE\xB1", 0x008587}, {"\xDE\xB2", 0x00858F}, {"\xDE\xB3", 0x008579}, 
{"\xDE\xB4", 0x0085AE}, {"\xDE\xB5", 0x00859C}, {"\xDE\xB6", 0x008585}, {"\xDE\xB7", 0x0085B9}, 
{"\xDE\xB8", 0x0085B7}, {"\xDE\xB9", 0x0085B0}, {"\xDE\xBA", 0x0085D3}, {"\xDE\xBB", 0x0085C1}, 

};
 for(size_t i=1; i<sizeof(db2bmp_45_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_45_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_46_gb18030_init()
{
static MB2UData db2bmp_46_gb18030 [] = { {"", 0}, 
{"\xDE\xBC", 0x0085DC}, {"\xDE\xBD", 0x0085FF}, {"\xDE\xBE", 0x008627}, {"\xDE\xBF", 0x008605}, 
{"\xDE\xC0", 0x008629}, {"\xDE\xC1", 0x008616}, {"\xDE\xC2", 0x00863C}, {"\xDE\xC3", 0x005EFE}, 
{"\xDE\xC4", 0x005F08}, {"\xDE\xC5", 0x00593C}, {"\xDE\xC6", 0x005941}, {"\xDE\xC7", 0x008037}, 
{"\xDE\xC8", 0x005955}, {"\xDE\xC9", 0x00595A}, {"\xDE\xCA", 0x005958}, {"\xDE\xCB", 0x00530F}, 
{"\xDE\xCC", 0x005C22}, {"\xDE\xCD", 0x005C25}, {"\xDE\xCE", 0x005C2C}, {"\xDE\xCF", 0x005C34}, 
{"\xDE\xD0", 0x00624C}, {"\xDE\xD1", 0x00626A}, {"\xDE\xD2", 0x00629F}, {"\xDE\xD3", 0x0062BB}, 
{"\xDE\xD4", 0x0062CA}, {"\xDE\xD5", 0x0062DA}, {"\xDE\xD6", 0x0062D7}, {"\xDE\xD7", 0x0062EE}, 
{"\xDE\xD8", 0x006322}, {"\xDE\xD9", 0x0062F6}, {"\xDE\xDA", 0x006339}, {"\xDE\xDB", 0x00634B}, 
{"\xDE\xDC", 0x006343}, {"\xDE\xDD", 0x0063AD}, {"\xDE\xDE", 0x0063F6}, {"\xDE\xDF", 0x006371}, 
{"\xDE\xE0", 0x00637A}, {"\xDE\xE1", 0x00638E}, {"\xDE\xE2", 0x0063B4}, {"\xDE\xE3", 0x00636D}, 
{"\xDE\xE4", 0x0063AC}, {"\xDE\xE5", 0x00638A}, {"\xDE\xE6", 0x006369}, {"\xDE\xE7", 0x0063AE}, 
{"\xDE\xE8", 0x0063BC}, {"\xDE\xE9", 0x0063F2}, {"\xDE\xEA", 0x0063F8}, {"\xDE\xEB", 0x0063E0}, 
{"\xDE\xEC", 0x0063FF}, {"\xDE\xED", 0x0063C4}, {"\xDE\xEE", 0x0063DE}, {"\xDE\xEF", 0x0063CE}, 
{"\xDE\xF0", 0x006452}, {"\xDE\xF1", 0x0063C6}, {"\xDE\xF2", 0x0063BE}, {"\xDE\xF3", 0x006445}, 
{"\xDE\xF4", 0x006441}, {"\xDE\xF5", 0x00640B}, {"\xDE\xF6", 0x00641B}, {"\xDE\xF7", 0x006420}, 
{"\xDE\xF8", 0x00640C}, {"\xDE\xF9", 0x006426}, {"\xDE\xFA", 0x006421}, {"\xDE\xFB", 0x00645E}, 
{"\xDE\xFC", 0x006484}, {"\xDE\xFD", 0x00646D}, {"\xDE\xFE", 0x006496}, {"\xDF\x40", 0x009019}, 
{"\xDF\x41", 0x00901C}, {"\xDF\x42", 0x009023}, {"\xDF\x43", 0x009024}, {"\xDF\x44", 0x009025}, 
{"\xDF\x45", 0x009027}, {"\xDF\x46", 0x009028}, {"\xDF\x47", 0x009029}, {"\xDF\x48", 0x00902A}, 
{"\xDF\x49", 0x00902B}, {"\xDF\x4A", 0x00902C}, {"\xDF\x4B", 0x009030}, {"\xDF\x4C", 0x009031}, 
{"\xDF\x4D", 0x009032}, {"\xDF\x4E", 0x009033}, {"\xDF\x4F", 0x009034}, {"\xDF\x50", 0x009037}, 
{"\xDF\x51", 0x009039}, {"\xDF\x52", 0x00903A}, {"\xDF\x53", 0x00903D}, {"\xDF\x54", 0x00903F}, 
{"\xDF\x55", 0x009040}, {"\xDF\x56", 0x009043}, {"\xDF\x57", 0x009045}, {"\xDF\x58", 0x009046}, 
{"\xDF\x59", 0x009048}, {"\xDF\x5A", 0x009049}, {"\xDF\x5B", 0x00904A}, {"\xDF\x5C", 0x00904B}, 
{"\xDF\x5D", 0x00904C}, {"\xDF\x5E", 0x00904E}, {"\xDF\x5F", 0x009054}, {"\xDF\x60", 0x009055}, 
{"\xDF\x61", 0x009056}, {"\xDF\x62", 0x009059}, {"\xDF\x63", 0x00905A}, {"\xDF\x64", 0x00905C}, 
{"\xDF\x65", 0x00905D}, {"\xDF\x66", 0x00905E}, {"\xDF\x67", 0x00905F}, {"\xDF\x68", 0x009060}, 
{"\xDF\x69", 0x009061}, {"\xDF\x6A", 0x009064}, {"\xDF\x6B", 0x009066}, {"\xDF\x6C", 0x009067}, 
{"\xDF\x6D", 0x009069}, {"\xDF\x6E", 0x00906A}, {"\xDF\x6F", 0x00906B}, {"\xDF\x70", 0x00906C}, 
{"\xDF\x71", 0x00906F}, {"\xDF\x72", 0x009070}, {"\xDF\x73", 0x009071}, {"\xDF\x74", 0x009072}, 
{"\xDF\x75", 0x009073}, {"\xDF\x76", 0x009076}, {"\xDF\x77", 0x009077}, {"\xDF\x78", 0x009078}, 
{"\xDF\x79", 0x009079}, {"\xDF\x7A", 0x00907A}, {"\xDF\x7B", 0x00907B}, {"\xDF\x7C", 0x00907C}, 
{"\xDF\x7D", 0x00907E}, {"\xDF\x7E", 0x009081}, {"\xDF\x80", 0x009084}, {"\xDF\x81", 0x009085}, 
{"\xDF\x82", 0x009086}, {"\xDF\x83", 0x009087}, {"\xDF\x84", 0x009089}, {"\xDF\x85", 0x00908A}, 
{"\xDF\x86", 0x00908C}, {"\xDF\x87", 0x00908D}, {"\xDF\x88", 0x00908E}, {"\xDF\x89", 0x00908F}, 
{"\xDF\x8A", 0x009090}, {"\xDF\x8B", 0x009092}, {"\xDF\x8C", 0x009094}, {"\xDF\x8D", 0x009096}, 
{"\xDF\x8E", 0x009098}, {"\xDF\x8F", 0x00909A}, {"\xDF\x90", 0x00909C}, {"\xDF\x91", 0x00909E}, 
{"\xDF\x92", 0x00909F}, {"\xDF\x93", 0x0090A0}, {"\xDF\x94", 0x0090A4}, {"\xDF\x95", 0x0090A5}, 
{"\xDF\x96", 0x0090A7}, {"\xDF\x97", 0x0090A8}, {"\xDF\x98", 0x0090A9}, {"\xDF\x99", 0x0090AB}, 
{"\xDF\x9A", 0x0090AD}, {"\xDF\x9B", 0x0090B2}, {"\xDF\x9C", 0x0090B7}, {"\xDF\x9D", 0x0090BC}, 
{"\xDF\x9E", 0x0090BD}, {"\xDF\x9F", 0x0090BF}, {"\xDF\xA0", 0x0090C0}, {"\xDF\xA1", 0x00647A}, 
{"\xDF\xA2", 0x0064B7}, {"\xDF\xA3", 0x0064B8}, {"\xDF\xA4", 0x006499}, {"\xDF\xA5", 0x0064BA}, 
{"\xDF\xA6", 0x0064C0}, {"\xDF\xA7", 0x0064D0}, {"\xDF\xA8", 0x0064D7}, {"\xDF\xA9", 0x0064E4}, 
{"\xDF\xAA", 0x0064E2}, {"\xDF\xAB", 0x006509}, {"\xDF\xAC", 0x006525}, {"\xDF\xAD", 0x00652E}, 
{"\xDF\xAE", 0x005F0B}, {"\xDF\xAF", 0x005FD2}, {"\xDF\xB0", 0x007519}, {"\xDF\xB1", 0x005F11}, 
{"\xDF\xB2", 0x00535F}, {"\xDF\xB3", 0x0053F1}, {"\xDF\xB4", 0x0053FD}, {"\xDF\xB5", 0x0053E9}, 
{"\xDF\xB6", 0x0053E8}, {"\xDF\xB7", 0x0053FB}, {"\xDF\xB8", 0x005412}, {"\xDF\xB9", 0x005416}, 
{"\xDF\xBA", 0x005406}, {"\xDF\xBB", 0x00544B}, {"\xDF\xBC", 0x005452}, {"\xDF\xBD", 0x005453}, 
{"\xDF\xBE", 0x005454}, {"\xDF\xBF", 0x005456}, {"\xDF\xC0", 0x005443}, {"\xDF\xC1", 0x005421}, 
{"\xDF\xC2", 0x005457}, {"\xDF\xC3", 0x005459}, {"\xDF\xC4", 0x005423}, {"\xDF\xC5", 0x005432}, 
{"\xDF\xC6", 0x005482}, {"\xDF\xC7", 0x005494}, {"\xDF\xC8", 0x005477}, {"\xDF\xC9", 0x005471}, 
{"\xDF\xCA", 0x005464}, {"\xDF\xCB", 0x00549A}, {"\xDF\xCC", 0x00549B}, {"\xDF\xCD", 0x005484}, 
{"\xDF\xCE", 0x005476}, {"\xDF\xCF", 0x005466}, {"\xDF\xD0", 0x00549D}, {"\xDF\xD1", 0x0054D0}, 
{"\xDF\xD2", 0x0054AD}, {"\xDF\xD3", 0x0054C2}, {"\xDF\xD4", 0x0054B4}, {"\xDF\xD5", 0x0054D2}, 
{"\xDF\xD6", 0x0054A7}, {"\xDF\xD7", 0x0054A6}, {"\xDF\xD8", 0x0054D3}, {"\xDF\xD9", 0x0054D4}, 
{"\xDF\xDA", 0x005472}, {"\xDF\xDB", 0x0054A3}, {"\xDF\xDC", 0x0054D5}, {"\xDF\xDD", 0x0054BB}, 
{"\xDF\xDE", 0x0054BF}, {"\xDF\xDF", 0x0054CC}, {"\xDF\xE0", 0x0054D9}, {"\xDF\xE1", 0x0054DA}, 
{"\xDF\xE2", 0x0054DC}, {"\xDF\xE3", 0x0054A9}, {"\xDF\xE4", 0x0054AA}, {"\xDF\xE5", 0x0054A4}, 
{"\xDF\xE6", 0x0054DD}, {"\xDF\xE7", 0x0054CF}, {"\xDF\xE8", 0x0054DE}, {"\xDF\xE9", 0x00551B}, 
{"\xDF\xEA", 0x0054E7}, {"\xDF\xEB", 0x005520}, {"\xDF\xEC", 0x0054FD}, {"\xDF\xED", 0x005514}, 
{"\xDF\xEE", 0x0054F3}, {"\xDF\xEF", 0x005522}, {"\xDF\xF0", 0x005523}, {"\xDF\xF1", 0x00550F}, 
{"\xDF\xF2", 0x005511}, {"\xDF\xF3", 0x005527}, {"\xDF\xF4", 0x00552A}, {"\xDF\xF5", 0x005567}, 
{"\xDF\xF6", 0x00558F}, {"\xDF\xF7", 0x0055B5}, {"\xDF\xF8", 0x005549}, {"\xDF\xF9", 0x00556D}, 
{"\xDF\xFA", 0x005541}, {"\xDF\xFB", 0x005555}, {"\xDF\xFC", 0x00553F}, {"\xDF\xFD", 0x005550}, 

};
 for(size_t i=1; i<sizeof(db2bmp_46_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_46_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_47_gb18030_init()
{
static MB2UData db2bmp_47_gb18030 [] = { {"", 0}, 
{"\xDF\xFE", 0x00553C}, {"\xE0\x40", 0x0090C2}, {"\xE0\x41", 0x0090C3}, {"\xE0\x42", 0x0090C6}, 
{"\xE0\x43", 0x0090C8}, {"\xE0\x44", 0x0090C9}, {"\xE0\x45", 0x0090CB}, {"\xE0\x46", 0x0090CC}, 
{"\xE0\x47", 0x0090CD}, {"\xE0\x48", 0x0090D2}, {"\xE0\x49", 0x0090D4}, {"\xE0\x4A", 0x0090D5}, 
{"\xE0\x4B", 0x0090D6}, {"\xE0\x4C", 0x0090D8}, {"\xE0\x4D", 0x0090D9}, {"\xE0\x4E", 0x0090DA}, 
{"\xE0\x4F", 0x0090DE}, {"\xE0\x50", 0x0090DF}, {"\xE0\x51", 0x0090E0}, {"\xE0\x52", 0x0090E3}, 
{"\xE0\x53", 0x0090E4}, {"\xE0\x54", 0x0090E5}, {"\xE0\x55", 0x0090E9}, {"\xE0\x56", 0x0090EA}, 
{"\xE0\x57", 0x0090EC}, {"\xE0\x58", 0x0090EE}, {"\xE0\x59", 0x0090F0}, {"\xE0\x5A", 0x0090F1}, 
{"\xE0\x5B", 0x0090F2}, {"\xE0\x5C", 0x0090F3}, {"\xE0\x5D", 0x0090F5}, {"\xE0\x5E", 0x0090F6}, 
{"\xE0\x5F", 0x0090F7}, {"\xE0\x60", 0x0090F9}, {"\xE0\x61", 0x0090FA}, {"\xE0\x62", 0x0090FB}, 
{"\xE0\x63", 0x0090FC}, {"\xE0\x64", 0x0090FF}, {"\xE0\x65", 0x009100}, {"\xE0\x66", 0x009101}, 
{"\xE0\x67", 0x009103}, {"\xE0\x68", 0x009105}, {"\xE0\x69", 0x009106}, {"\xE0\x6A", 0x009107}, 
{"\xE0\x6B", 0x009108}, {"\xE0\x6C", 0x009109}, {"\xE0\x6D", 0x00910A}, {"\xE0\x6E", 0x00910B}, 
{"\xE0\x6F", 0x00910C}, {"\xE0\x70", 0x00910D}, {"\xE0\x71", 0x00910E}, {"\xE0\x72", 0x00910F}, 
{"\xE0\x73", 0x009110}, {"\xE0\x74", 0x009111}, {"\xE0\x75", 0x009112}, {"\xE0\x76", 0x009113}, 
{"\xE0\x77", 0x009114}, {"\xE0\x78", 0x009115}, {"\xE0\x79", 0x009116}, {"\xE0\x7A", 0x009117}, 
{"\xE0\x7B", 0x009118}, {"\xE0\x7C", 0x00911A}, {"\xE0\x7D", 0x00911B}, {"\xE0\x7E", 0x00911C}, 
{"\xE0\x80", 0x00911D}, {"\xE0\x81", 0x00911F}, {"\xE0\x82", 0x009120}, {"\xE0\x83", 0x009121}, 
{"\xE0\x84", 0x009124}, {"\xE0\x85", 0x009125}, {"\xE0\x86", 0x009126}, {"\xE0\x87", 0x009127}, 
{"\xE0\x88", 0x009128}, {"\xE0\x89", 0x009129}, {"\xE0\x8A", 0x00912A}, {"\xE0\x8B", 0x00912B}, 
{"\xE0\x8C", 0x00912C}, {"\xE0\x8D", 0x00912D}, {"\xE0\x8E", 0x00912E}, {"\xE0\x8F", 0x009130}, 
{"\xE0\x90", 0x009132}, {"\xE0\x91", 0x009133}, {"\xE0\x92", 0x009134}, {"\xE0\x93", 0x009135}, 
{"\xE0\x94", 0x009136}, {"\xE0\x95", 0x009137}, {"\xE0\x96", 0x009138}, {"\xE0\x97", 0x00913A}, 
{"\xE0\x98", 0x00913B}, {"\xE0\x99", 0x00913C}, {"\xE0\x9A", 0x00913D}, {"\xE0\x9B", 0x00913E}, 
{"\xE0\x9C", 0x00913F}, {"\xE0\x9D", 0x009140}, {"\xE0\x9E", 0x009141}, {"\xE0\x9F", 0x009142}, 
{"\xE0\xA0", 0x009144}, {"\xE0\xA1", 0x005537}, {"\xE0\xA2", 0x005556}, {"\xE0\xA3", 0x005575}, 
{"\xE0\xA4", 0x005576}, {"\xE0\xA5", 0x005577}, {"\xE0\xA6", 0x005533}, {"\xE0\xA7", 0x005530}, 
{"\xE0\xA8", 0x00555C}, {"\xE0\xA9", 0x00558B}, {"\xE0\xAA", 0x0055D2}, {"\xE0\xAB", 0x005583}, 
{"\xE0\xAC", 0x0055B1}, {"\xE0\xAD", 0x0055B9}, {"\xE0\xAE", 0x005588}, {"\xE0\xAF", 0x005581}, 
{"\xE0\xB0", 0x00559F}, {"\xE0\xB1", 0x00557E}, {"\xE0\xB2", 0x0055D6}, {"\xE0\xB3", 0x005591}, 
{"\xE0\xB4", 0x00557B}, {"\xE0\xB5", 0x0055DF}, {"\xE0\xB6", 0x0055BD}, {"\xE0\xB7", 0x0055BE}, 
{"\xE0\xB8", 0x005594}, {"\xE0\xB9", 0x005599}, {"\xE0\xBA", 0x0055EA}, {"\xE0\xBB", 0x0055F7}, 
{"\xE0\xBC", 0x0055C9}, {"\xE0\xBD", 0x00561F}, {"\xE0\xBE", 0x0055D1}, {"\xE0\xBF", 0x0055EB}, 
{"\xE0\xC0", 0x0055EC}, {"\xE0\xC1", 0x0055D4}, {"\xE0\xC2", 0x0055E6}, {"\xE0\xC3", 0x0055DD}, 
{"\xE0\xC4", 0x0055C4}, {"\xE0\xC5", 0x0055EF}, {"\xE0\xC6", 0x0055E5}, {"\xE0\xC7", 0x0055F2}, 
{"\xE0\xC8", 0x0055F3}, {"\xE0\xC9", 0x0055CC}, {"\xE0\xCA", 0x0055CD}, {"\xE0\xCB", 0x0055E8}, 
{"\xE0\xCC", 0x0055F5}, {"\xE0\xCD", 0x0055E4}, {"\xE0\xCE", 0x008F94}, {"\xE0\xCF", 0x00561E}, 
{"\xE0\xD0", 0x005608}, {"\xE0\xD1", 0x00560C}, {"\xE0\xD2", 0x005601}, {"\xE0\xD3", 0x005624}, 
{"\xE0\xD4", 0x005623}, {"\xE0\xD5", 0x0055FE}, {"\xE0\xD6", 0x005600}, {"\xE0\xD7", 0x005627}, 
{"\xE0\xD8", 0x00562D}, {"\xE0\xD9", 0x005658}, {"\xE0\xDA", 0x005639}, {"\xE0\xDB", 0x005657}, 
{"\xE0\xDC", 0x00562C}, {"\xE0\xDD", 0x00564D}, {"\xE0\xDE", 0x005662}, {"\xE0\xDF", 0x005659}, 
{"\xE0\xE0", 0x00565C}, {"\xE0\xE1", 0x00564C}, {"\xE0\xE2", 0x005654}, {"\xE0\xE3", 0x005686}, 
{"\xE0\xE4", 0x005664}, {"\xE0\xE5", 0x005671}, {"\xE0\xE6", 0x00566B}, {"\xE0\xE7", 0x00567B}, 
{"\xE0\xE8", 0x00567C}, {"\xE0\xE9", 0x005685}, {"\xE0\xEA", 0x005693}, {"\xE0\xEB", 0x0056AF}, 
{"\xE0\xEC", 0x0056D4}, {"\xE0\xED", 0x0056D7}, {"\xE0\xEE", 0x0056DD}, {"\xE0\xEF", 0x0056E1}, 
{"\xE0\xF0", 0x0056F5}, {"\xE0\xF1", 0x0056EB}, {"\xE0\xF2", 0x0056F9}, {"\xE0\xF3", 0x0056FF}, 
{"\xE0\xF4", 0x005704}, {"\xE0\xF5", 0x00570A}, {"\xE0\xF6", 0x005709}, {"\xE0\xF7", 0x00571C}, 
{"\xE0\xF8", 0x005E0F}, {"\xE0\xF9", 0x005E19}, {"\xE0\xFA", 0x005E14}, {"\xE0\xFB", 0x005E11}, 
{"\xE0\xFC", 0x005E31}, {"\xE0\xFD", 0x005E3B}, {"\xE0\xFE", 0x005E3C}, {"\xE1\x40", 0x009145}, 
{"\xE1\x41", 0x009147}, {"\xE1\x42", 0x009148}, {"\xE1\x43", 0x009151}, {"\xE1\x44", 0x009153}, 
{"\xE1\x45", 0x009154}, {"\xE1\x46", 0x009155}, {"\xE1\x47", 0x009156}, {"\xE1\x48", 0x009158}, 
{"\xE1\x49", 0x009159}, {"\xE1\x4A", 0x00915B}, {"\xE1\x4B", 0x00915C}, {"\xE1\x4C", 0x00915F}, 
{"\xE1\x4D", 0x009160}, {"\xE1\x4E", 0x009166}, {"\xE1\x4F", 0x009167}, {"\xE1\x50", 0x009168}, 
{"\xE1\x51", 0x00916B}, {"\xE1\x52", 0x00916D}, {"\xE1\x53", 0x009173}, {"\xE1\x54", 0x00917A}, 
{"\xE1\x55", 0x00917B}, {"\xE1\x56", 0x00917C}, {"\xE1\x57", 0x009180}, {"\xE1\x58", 0x009181}, 
{"\xE1\x59", 0x009182}, {"\xE1\x5A", 0x009183}, {"\xE1\x5B", 0x009184}, {"\xE1\x5C", 0x009186}, 
{"\xE1\x5D", 0x009188}, {"\xE1\x5E", 0x00918A}, {"\xE1\x5F", 0x00918E}, {"\xE1\x60", 0x00918F}, 
{"\xE1\x61", 0x009193}, {"\xE1\x62", 0x009194}, {"\xE1\x63", 0x009195}, {"\xE1\x64", 0x009196}, 
{"\xE1\x65", 0x009197}, {"\xE1\x66", 0x009198}, {"\xE1\x67", 0x009199}, {"\xE1\x68", 0x00919C}, 
{"\xE1\x69", 0x00919D}, {"\xE1\x6A", 0x00919E}, {"\xE1\x6B", 0x00919F}, {"\xE1\x6C", 0x0091A0}, 
{"\xE1\x6D", 0x0091A1}, {"\xE1\x6E", 0x0091A4}, {"\xE1\x6F", 0x0091A5}, {"\xE1\x70", 0x0091A6}, 
{"\xE1\x71", 0x0091A7}, {"\xE1\x72", 0x0091A8}, {"\xE1\x73", 0x0091A9}, {"\xE1\x74", 0x0091AB}, 
{"\xE1\x75", 0x0091AC}, {"\xE1\x76", 0x0091B0}, {"\xE1\x77", 0x0091B1}, {"\xE1\x78", 0x0091B2}, 
{"\xE1\x79", 0x0091B3}, {"\xE1\x7A", 0x0091B6}, {"\xE1\x7B", 0x0091B7}, {"\xE1\x7C", 0x0091B8}, 
{"\xE1\x7D", 0x0091B9}, {"\xE1\x7E", 0x0091BB}, {"\xE1\x80", 0x0091BC}, {"\xE1\x81", 0x0091BD}, 

};
 for(size_t i=1; i<sizeof(db2bmp_47_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_47_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_48_gb18030_init()
{
static MB2UData db2bmp_48_gb18030 [] = { {"", 0}, 
{"\xE1\x82", 0x0091BE}, {"\xE1\x83", 0x0091BF}, {"\xE1\x84", 0x0091C0}, {"\xE1\x85", 0x0091C1}, 
{"\xE1\x86", 0x0091C2}, {"\xE1\x87", 0x0091C3}, {"\xE1\x88", 0x0091C4}, {"\xE1\x89", 0x0091C5}, 
{"\xE1\x8A", 0x0091C6}, {"\xE1\x8B", 0x0091C8}, {"\xE1\x8C", 0x0091CB}, {"\xE1\x8D", 0x0091D0}, 
{"\xE1\x8E", 0x0091D2}, {"\xE1\x8F", 0x0091D3}, {"\xE1\x90", 0x0091D4}, {"\xE1\x91", 0x0091D5}, 
{"\xE1\x92", 0x0091D6}, {"\xE1\x93", 0x0091D7}, {"\xE1\x94", 0x0091D8}, {"\xE1\x95", 0x0091D9}, 
{"\xE1\x96", 0x0091DA}, {"\xE1\x97", 0x0091DB}, {"\xE1\x98", 0x0091DD}, {"\xE1\x99", 0x0091DE}, 
{"\xE1\x9A", 0x0091DF}, {"\xE1\x9B", 0x0091E0}, {"\xE1\x9C", 0x0091E1}, {"\xE1\x9D", 0x0091E2}, 
{"\xE1\x9E", 0x0091E3}, {"\xE1\x9F", 0x0091E4}, {"\xE1\xA0", 0x0091E5}, {"\xE1\xA1", 0x005E37}, 
{"\xE1\xA2", 0x005E44}, {"\xE1\xA3", 0x005E54}, {"\xE1\xA4", 0x005E5B}, {"\xE1\xA5", 0x005E5E}, 
{"\xE1\xA6", 0x005E61}, {"\xE1\xA7", 0x005C8C}, {"\xE1\xA8", 0x005C7A}, {"\xE1\xA9", 0x005C8D}, 
{"\xE1\xAA", 0x005C90}, {"\xE1\xAB", 0x005C96}, {"\xE1\xAC", 0x005C88}, {"\xE1\xAD", 0x005C98}, 
{"\xE1\xAE", 0x005C99}, {"\xE1\xAF", 0x005C91}, {"\xE1\xB0", 0x005C9A}, {"\xE1\xB1", 0x005C9C}, 
{"\xE1\xB2", 0x005CB5}, {"\xE1\xB3", 0x005CA2}, {"\xE1\xB4", 0x005CBD}, {"\xE1\xB5", 0x005CAC}, 
{"\xE1\xB6", 0x005CAB}, {"\xE1\xB7", 0x005CB1}, {"\xE1\xB8", 0x005CA3}, {"\xE1\xB9", 0x005CC1}, 
{"\xE1\xBA", 0x005CB7}, {"\xE1\xBB", 0x005CC4}, {"\xE1\xBC", 0x005CD2}, {"\xE1\xBD", 0x005CE4}, 
{"\xE1\xBE", 0x005CCB}, {"\xE1\xBF", 0x005CE5}, {"\xE1\xC0", 0x005D02}, {"\xE1\xC1", 0x005D03}, 
{"\xE1\xC2", 0x005D27}, {"\xE1\xC3", 0x005D26}, {"\xE1\xC4", 0x005D2E}, {"\xE1\xC5", 0x005D24}, 
{"\xE1\xC6", 0x005D1E}, {"\xE1\xC7", 0x005D06}, {"\xE1\xC8", 0x005D1B}, {"\xE1\xC9", 0x005D58}, 
{"\xE1\xCA", 0x005D3E}, {"\xE1\xCB", 0x005D34}, {"\xE1\xCC", 0x005D3D}, {"\xE1\xCD", 0x005D6C}, 
{"\xE1\xCE", 0x005D5B}, {"\xE1\xCF", 0x005D6F}, {"\xE1\xD0", 0x005D5D}, {"\xE1\xD1", 0x005D6B}, 
{"\xE1\xD2", 0x005D4B}, {"\xE1\xD3", 0x005D4A}, {"\xE1\xD4", 0x005D69}, {"\xE1\xD5", 0x005D74}, 
{"\xE1\xD6", 0x005D82}, {"\xE1\xD7", 0x005D99}, {"\xE1\xD8", 0x005D9D}, {"\xE1\xD9", 0x008C73}, 
{"\xE1\xDA", 0x005DB7}, {"\xE1\xDB", 0x005DC5}, {"\xE1\xDC", 0x005F73}, {"\xE1\xDD", 0x005F77}, 
{"\xE1\xDE", 0x005F82}, {"\xE1\xDF", 0x005F87}, {"\xE1\xE0", 0x005F89}, {"\xE1\xE1", 0x005F8C}, 
{"\xE1\xE2", 0x005F95}, {"\xE1\xE3", 0x005F99}, {"\xE1\xE4", 0x005F9C}, {"\xE1\xE5", 0x005FA8}, 
{"\xE1\xE6", 0x005FAD}, {"\xE1\xE7", 0x005FB5}, {"\xE1\xE8", 0x005FBC}, {"\xE1\xE9", 0x008862}, 
{"\xE1\xEA", 0x005F61}, {"\xE1\xEB", 0x0072AD}, {"\xE1\xEC", 0x0072B0}, {"\xE1\xED", 0x0072B4}, 
{"\xE1\xEE", 0x0072B7}, {"\xE1\xEF", 0x0072B8}, {"\xE1\xF0", 0x0072C3}, {"\xE1\xF1", 0x0072C1}, 
{"\xE1\xF2", 0x0072CE}, {"\xE1\xF3", 0x0072CD}, {"\xE1\xF4", 0x0072D2}, {"\xE1\xF5", 0x0072E8}, 
{"\xE1\xF6", 0x0072EF}, {"\xE1\xF7", 0x0072E9}, {"\xE1\xF8", 0x0072F2}, {"\xE1\xF9", 0x0072F4}, 
{"\xE1\xFA", 0x0072F7}, {"\xE1\xFB", 0x007301}, {"\xE1\xFC", 0x0072F3}, {"\xE1\xFD", 0x007303}, 
{"\xE1\xFE", 0x0072FA}, {"\xE2\x40", 0x0091E6}, {"\xE2\x41", 0x0091E7}, {"\xE2\x42", 0x0091E8}, 
{"\xE2\x43", 0x0091E9}, {"\xE2\x44", 0x0091EA}, {"\xE2\x45", 0x0091EB}, {"\xE2\x46", 0x0091EC}, 
{"\xE2\x47", 0x0091ED}, {"\xE2\x48", 0x0091EE}, {"\xE2\x49", 0x0091EF}, {"\xE2\x4A", 0x0091F0}, 
{"\xE2\x4B", 0x0091F1}, {"\xE2\x4C", 0x0091F2}, {"\xE2\x4D", 0x0091F3}, {"\xE2\x4E", 0x0091F4}, 
{"\xE2\x4F", 0x0091F5}, {"\xE2\x50", 0x0091F6}, {"\xE2\x51", 0x0091F7}, {"\xE2\x52", 0x0091F8}, 
{"\xE2\x53", 0x0091F9}, {"\xE2\x54", 0x0091FA}, {"\xE2\x55", 0x0091FB}, {"\xE2\x56", 0x0091FC}, 
{"\xE2\x57", 0x0091FD}, {"\xE2\x58", 0x0091FE}, {"\xE2\x59", 0x0091FF}, {"\xE2\x5A", 0x009200}, 
{"\xE2\x5B", 0x009201}, {"\xE2\x5C", 0x009202}, {"\xE2\x5D", 0x009203}, {"\xE2\x5E", 0x009204}, 
{"\xE2\x5F", 0x009205}, {"\xE2\x60", 0x009206}, {"\xE2\x61", 0x009207}, {"\xE2\x62", 0x009208}, 
{"\xE2\x63", 0x009209}, {"\xE2\x64", 0x00920A}, {"\xE2\x65", 0x00920B}, {"\xE2\x66", 0x00920C}, 
{"\xE2\x67", 0x00920D}, {"\xE2\x68", 0x00920E}, {"\xE2\x69", 0x00920F}, {"\xE2\x6A", 0x009210}, 
{"\xE2\x6B", 0x009211}, {"\xE2\x6C", 0x009212}, {"\xE2\x6D", 0x009213}, {"\xE2\x6E", 0x009214}, 
{"\xE2\x6F", 0x009215}, {"\xE2\x70", 0x009216}, {"\xE2\x71", 0x009217}, {"\xE2\x72", 0x009218}, 
{"\xE2\x73", 0x009219}, {"\xE2\x74", 0x00921A}, {"\xE2\x75", 0x00921B}, {"\xE2\x76", 0x00921C}, 
{"\xE2\x77", 0x00921D}, {"\xE2\x78", 0x00921E}, {"\xE2\x79", 0x00921F}, {"\xE2\x7A", 0x009220}, 
{"\xE2\x7B", 0x009221}, {"\xE2\x7C", 0x009222}, {"\xE2\x7D", 0x009223}, {"\xE2\x7E", 0x009224}, 
{"\xE2\x80", 0x009225}, {"\xE2\x81", 0x009226}, {"\xE2\x82", 0x009227}, {"\xE2\x83", 0x009228}, 
{"\xE2\x84", 0x009229}, {"\xE2\x85", 0x00922A}, {"\xE2\x86", 0x00922B}, {"\xE2\x87", 0x00922C}, 
{"\xE2\x88", 0x00922D}, {"\xE2\x89", 0x00922E}, {"\xE2\x8A", 0x00922F}, {"\xE2\x8B", 0x009230}, 
{"\xE2\x8C", 0x009231}, {"\xE2\x8D", 0x009232}, {"\xE2\x8E", 0x009233}, {"\xE2\x8F", 0x009234}, 
{"\xE2\x90", 0x009235}, {"\xE2\x91", 0x009236}, {"\xE2\x92", 0x009237}, {"\xE2\x93", 0x009238}, 
{"\xE2\x94", 0x009239}, {"\xE2\x95", 0x00923A}, {"\xE2\x96", 0x00923B}, {"\xE2\x97", 0x00923C}, 
{"\xE2\x98", 0x00923D}, {"\xE2\x99", 0x00923E}, {"\xE2\x9A", 0x00923F}, {"\xE2\x9B", 0x009240}, 
{"\xE2\x9C", 0x009241}, {"\xE2\x9D", 0x009242}, {"\xE2\x9E", 0x009243}, {"\xE2\x9F", 0x009244}, 
{"\xE2\xA0", 0x009245}, {"\xE2\xA1", 0x0072FB}, {"\xE2\xA2", 0x007317}, {"\xE2\xA3", 0x007313}, 
{"\xE2\xA4", 0x007321}, {"\xE2\xA5", 0x00730A}, {"\xE2\xA6", 0x00731E}, {"\xE2\xA7", 0x00731D}, 
{"\xE2\xA8", 0x007315}, {"\xE2\xA9", 0x007322}, {"\xE2\xAA", 0x007339}, {"\xE2\xAB", 0x007325}, 
{"\xE2\xAC", 0x00732C}, {"\xE2\xAD", 0x007338}, {"\xE2\xAE", 0x007331}, {"\xE2\xAF", 0x007350}, 
{"\xE2\xB0", 0x00734D}, {"\xE2\xB1", 0x007357}, {"\xE2\xB2", 0x007360}, {"\xE2\xB3", 0x00736C}, 
{"\xE2\xB4", 0x00736F}, {"\xE2\xB5", 0x00737E}, {"\xE2\xB6", 0x00821B}, {"\xE2\xB7", 0x005925}, 
{"\xE2\xB8", 0x0098E7}, {"\xE2\xB9", 0x005924}, {"\xE2\xBA", 0x005902}, {"\xE2\xBB", 0x009963}, 
{"\xE2\xBC", 0x009967}, {"\xE2\xBD", 0x009968}, {"\xE2\xBE", 0x009969}, {"\xE2\xBF", 0x00996A}, 
{"\xE2\xC0", 0x00996B}, {"\xE2\xC1", 0x00996C}, {"\xE2\xC2", 0x009974}, {"\xE2\xC3", 0x009977}, 

};
 for(size_t i=1; i<sizeof(db2bmp_48_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_48_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_49_gb18030_init()
{
static MB2UData db2bmp_49_gb18030 [] = { {"", 0}, 
{"\xE2\xC4", 0x00997D}, {"\xE2\xC5", 0x009980}, {"\xE2\xC6", 0x009984}, {"\xE2\xC7", 0x009987}, 
{"\xE2\xC8", 0x00998A}, {"\xE2\xC9", 0x00998D}, {"\xE2\xCA", 0x009990}, {"\xE2\xCB", 0x009991}, 
{"\xE2\xCC", 0x009993}, {"\xE2\xCD", 0x009994}, {"\xE2\xCE", 0x009995}, {"\xE2\xCF", 0x005E80}, 
{"\xE2\xD0", 0x005E91}, {"\xE2\xD1", 0x005E8B}, {"\xE2\xD2", 0x005E96}, {"\xE2\xD3", 0x005EA5}, 
{"\xE2\xD4", 0x005EA0}, {"\xE2\xD5", 0x005EB9}, {"\xE2\xD6", 0x005EB5}, {"\xE2\xD7", 0x005EBE}, 
{"\xE2\xD8", 0x005EB3}, {"\xE2\xD9", 0x008D53}, {"\xE2\xDA", 0x005ED2}, {"\xE2\xDB", 0x005ED1}, 
{"\xE2\xDC", 0x005EDB}, {"\xE2\xDD", 0x005EE8}, {"\xE2\xDE", 0x005EEA}, {"\xE2\xDF", 0x0081BA}, 
{"\xE2\xE0", 0x005FC4}, {"\xE2\xE1", 0x005FC9}, {"\xE2\xE2", 0x005FD6}, {"\xE2\xE3", 0x005FCF}, 
{"\xE2\xE4", 0x006003}, {"\xE2\xE5", 0x005FEE}, {"\xE2\xE6", 0x006004}, {"\xE2\xE7", 0x005FE1}, 
{"\xE2\xE8", 0x005FE4}, {"\xE2\xE9", 0x005FFE}, {"\xE2\xEA", 0x006005}, {"\xE2\xEB", 0x006006}, 
{"\xE2\xEC", 0x005FEA}, {"\xE2\xED", 0x005FED}, {"\xE2\xEE", 0x005FF8}, {"\xE2\xEF", 0x006019}, 
{"\xE2\xF0", 0x006035}, {"\xE2\xF1", 0x006026}, {"\xE2\xF2", 0x00601B}, {"\xE2\xF3", 0x00600F}, 
{"\xE2\xF4", 0x00600D}, {"\xE2\xF5", 0x006029}, {"\xE2\xF6", 0x00602B}, {"\xE2\xF7", 0x00600A}, 
{"\xE2\xF8", 0x00603F}, {"\xE2\xF9", 0x006021}, {"\xE2\xFA", 0x006078}, {"\xE2\xFB", 0x006079}, 
{"\xE2\xFC", 0x00607B}, {"\xE2\xFD", 0x00607A}, {"\xE2\xFE", 0x006042}, {"\xE3\x40", 0x009246}, 
{"\xE3\x41", 0x009247}, {"\xE3\x42", 0x009248}, {"\xE3\x43", 0x009249}, {"\xE3\x44", 0x00924A}, 
{"\xE3\x45", 0x00924B}, {"\xE3\x46", 0x00924C}, {"\xE3\x47", 0x00924D}, {"\xE3\x48", 0x00924E}, 
{"\xE3\x49", 0x00924F}, {"\xE3\x4A", 0x009250}, {"\xE3\x4B", 0x009251}, {"\xE3\x4C", 0x009252}, 
{"\xE3\x4D", 0x009253}, {"\xE3\x4E", 0x009254}, {"\xE3\x4F", 0x009255}, {"\xE3\x50", 0x009256}, 
{"\xE3\x51", 0x009257}, {"\xE3\x52", 0x009258}, {"\xE3\x53", 0x009259}, {"\xE3\x54", 0x00925A}, 
{"\xE3\x55", 0x00925B}, {"\xE3\x56", 0x00925C}, {"\xE3\x57", 0x00925D}, {"\xE3\x58", 0x00925E}, 
{"\xE3\x59", 0x00925F}, {"\xE3\x5A", 0x009260}, {"\xE3\x5B", 0x009261}, {"\xE3\x5C", 0x009262}, 
{"\xE3\x5D", 0x009263}, {"\xE3\x5E", 0x009264}, {"\xE3\x5F", 0x009265}, {"\xE3\x60", 0x009266}, 
{"\xE3\x61", 0x009267}, {"\xE3\x62", 0x009268}, {"\xE3\x63", 0x009269}, {"\xE3\x64", 0x00926A}, 
{"\xE3\x65", 0x00926B}, {"\xE3\x66", 0x00926C}, {"\xE3\x67", 0x00926D}, {"\xE3\x68", 0x00926E}, 
{"\xE3\x69", 0x00926F}, {"\xE3\x6A", 0x009270}, {"\xE3\x6B", 0x009271}, {"\xE3\x6C", 0x009272}, 
{"\xE3\x6D", 0x009273}, {"\xE3\x6E", 0x009275}, {"\xE3\x6F", 0x009276}, {"\xE3\x70", 0x009277}, 
{"\xE3\x71", 0x009278}, {"\xE3\x72", 0x009279}, {"\xE3\x73", 0x00927A}, {"\xE3\x74", 0x00927B}, 
{"\xE3\x75", 0x00927C}, {"\xE3\x76", 0x00927D}, {"\xE3\x77", 0x00927E}, {"\xE3\x78", 0x00927F}, 
{"\xE3\x79", 0x009280}, {"\xE3\x7A", 0x009281}, {"\xE3\x7B", 0x009282}, {"\xE3\x7C", 0x009283}, 
{"\xE3\x7D", 0x009284}, {"\xE3\x7E", 0x009285}, {"\xE3\x80", 0x009286}, {"\xE3\x81", 0x009287}, 
{"\xE3\x82", 0x009288}, {"\xE3\x83", 0x009289}, {"\xE3\x84", 0x00928A}, {"\xE3\x85", 0x00928B}, 
{"\xE3\x86", 0x00928C}, {"\xE3\x87", 0x00928D}, {"\xE3\x88", 0x00928F}, {"\xE3\x89", 0x009290}, 
{"\xE3\x8A", 0x009291}, {"\xE3\x8B", 0x009292}, {"\xE3\x8C", 0x009293}, {"\xE3\x8D", 0x009294}, 
{"\xE3\x8E", 0x009295}, {"\xE3\x8F", 0x009296}, {"\xE3\x90", 0x009297}, {"\xE3\x91", 0x009298}, 
{"\xE3\x92", 0x009299}, {"\xE3\x93", 0x00929A}, {"\xE3\x94", 0x00929B}, {"\xE3\x95", 0x00929C}, 
{"\xE3\x96", 0x00929D}, {"\xE3\x97", 0x00929E}, {"\xE3\x98", 0x00929F}, {"\xE3\x99", 0x0092A0}, 
{"\xE3\x9A", 0x0092A1}, {"\xE3\x9B", 0x0092A2}, {"\xE3\x9C", 0x0092A3}, {"\xE3\x9D", 0x0092A4}, 
{"\xE3\x9E", 0x0092A5}, {"\xE3\x9F", 0x0092A6}, {"\xE3\xA0", 0x0092A7}, {"\xE3\xA1", 0x00606A}, 
{"\xE3\xA2", 0x00607D}, {"\xE3\xA3", 0x006096}, {"\xE3\xA4", 0x00609A}, {"\xE3\xA5", 0x0060AD}, 
{"\xE3\xA6", 0x00609D}, {"\xE3\xA7", 0x006083}, {"\xE3\xA8", 0x006092}, {"\xE3\xA9", 0x00608C}, 
{"\xE3\xAA", 0x00609B}, {"\xE3\xAB", 0x0060EC}, {"\xE3\xAC", 0x0060BB}, {"\xE3\xAD", 0x0060B1}, 
{"\xE3\xAE", 0x0060DD}, {"\xE3\xAF", 0x0060D8}, {"\xE3\xB0", 0x0060C6}, {"\xE3\xB1", 0x0060DA}, 
{"\xE3\xB2", 0x0060B4}, {"\xE3\xB3", 0x006120}, {"\xE3\xB4", 0x006126}, {"\xE3\xB5", 0x006115}, 
{"\xE3\xB6", 0x006123}, {"\xE3\xB7", 0x0060F4}, {"\xE3\xB8", 0x006100}, {"\xE3\xB9", 0x00610E}, 
{"\xE3\xBA", 0x00612B}, {"\xE3\xBB", 0x00614A}, {"\xE3\xBC", 0x006175}, {"\xE3\xBD", 0x0061AC}, 
{"\xE3\xBE", 0x006194}, {"\xE3\xBF", 0x0061A7}, {"\xE3\xC0", 0x0061B7}, {"\xE3\xC1", 0x0061D4}, 
{"\xE3\xC2", 0x0061F5}, {"\xE3\xC3", 0x005FDD}, {"\xE3\xC4", 0x0096B3}, {"\xE3\xC5", 0x0095E9}, 
{"\xE3\xC6", 0x0095EB}, {"\xE3\xC7", 0x0095F1}, {"\xE3\xC8", 0x0095F3}, {"\xE3\xC9", 0x0095F5}, 
{"\xE3\xCA", 0x0095F6}, {"\xE3\xCB", 0x0095FC}, {"\xE3\xCC", 0x0095FE}, {"\xE3\xCD", 0x009603}, 
{"\xE3\xCE", 0x009604}, {"\xE3\xCF", 0x009606}, {"\xE3\xD0", 0x009608}, {"\xE3\xD1", 0x00960A}, 
{"\xE3\xD2", 0x00960B}, {"\xE3\xD3", 0x00960C}, {"\xE3\xD4", 0x00960D}, {"\xE3\xD5", 0x00960F}, 
{"\xE3\xD6", 0x009612}, {"\xE3\xD7", 0x009615}, {"\xE3\xD8", 0x009616}, {"\xE3\xD9", 0x009617}, 
{"\xE3\xDA", 0x009619}, {"\xE3\xDB", 0x00961A}, {"\xE3\xDC", 0x004E2C}, {"\xE3\xDD", 0x00723F}, 
{"\xE3\xDE", 0x006215}, {"\xE3\xDF", 0x006C35}, {"\xE3\xE0", 0x006C54}, {"\xE3\xE1", 0x006C5C}, 
{"\xE3\xE2", 0x006C4A}, {"\xE3\xE3", 0x006CA3}, {"\xE3\xE4", 0x006C85}, {"\xE3\xE5", 0x006C90}, 
{"\xE3\xE6", 0x006C94}, {"\xE3\xE7", 0x006C8C}, {"\xE3\xE8", 0x006C68}, {"\xE3\xE9", 0x006C69}, 
{"\xE3\xEA", 0x006C74}, {"\xE3\xEB", 0x006C76}, {"\xE3\xEC", 0x006C86}, {"\xE3\xED", 0x006CA9}, 
{"\xE3\xEE", 0x006CD0}, {"\xE3\xEF", 0x006CD4}, {"\xE3\xF0", 0x006CAD}, {"\xE3\xF1", 0x006CF7}, 
{"\xE3\xF2", 0x006CF8}, {"\xE3\xF3", 0x006CF1}, {"\xE3\xF4", 0x006CD7}, {"\xE3\xF5", 0x006CB2}, 
{"\xE3\xF6", 0x006CE0}, {"\xE3\xF7", 0x006CD6}, {"\xE3\xF8", 0x006CFA}, {"\xE3\xF9", 0x006CEB}, 
{"\xE3\xFA", 0x006CEE}, {"\xE3\xFB", 0x006CB1}, {"\xE3\xFC", 0x006CD3}, {"\xE3\xFD", 0x006CEF}, 
{"\xE3\xFE", 0x006CFE}, {"\xE4\x40", 0x0092A8}, {"\xE4\x41", 0x0092A9}, {"\xE4\x42", 0x0092AA}, 
{"\xE4\x43", 0x0092AB}, {"\xE4\x44", 0x0092AC}, {"\xE4\x45", 0x0092AD}, {"\xE4\x46", 0x0092AF}, 

};
 for(size_t i=1; i<sizeof(db2bmp_49_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_49_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_4a_gb18030_init()
{
static MB2UData db2bmp_4a_gb18030 [] = { {"", 0}, 
{"\xE4\x47", 0x0092B0}, {"\xE4\x48", 0x0092B1}, {"\xE4\x49", 0x0092B2}, {"\xE4\x4A", 0x0092B3}, 
{"\xE4\x4B", 0x0092B4}, {"\xE4\x4C", 0x0092B5}, {"\xE4\x4D", 0x0092B6}, {"\xE4\x4E", 0x0092B7}, 
{"\xE4\x4F", 0x0092B8}, {"\xE4\x50", 0x0092B9}, {"\xE4\x51", 0x0092BA}, {"\xE4\x52", 0x0092BB}, 
{"\xE4\x53", 0x0092BC}, {"\xE4\x54", 0x0092BD}, {"\xE4\x55", 0x0092BE}, {"\xE4\x56", 0x0092BF}, 
{"\xE4\x57", 0x0092C0}, {"\xE4\x58", 0x0092C1}, {"\xE4\x59", 0x0092C2}, {"\xE4\x5A", 0x0092C3}, 
{"\xE4\x5B", 0x0092C4}, {"\xE4\x5C", 0x0092C5}, {"\xE4\x5D", 0x0092C6}, {"\xE4\x5E", 0x0092C7}, 
{"\xE4\x5F", 0x0092C9}, {"\xE4\x60", 0x0092CA}, {"\xE4\x61", 0x0092CB}, {"\xE4\x62", 0x0092CC}, 
{"\xE4\x63", 0x0092CD}, {"\xE4\x64", 0x0092CE}, {"\xE4\x65", 0x0092CF}, {"\xE4\x66", 0x0092D0}, 
{"\xE4\x67", 0x0092D1}, {"\xE4\x68", 0x0092D2}, {"\xE4\x69", 0x0092D3}, {"\xE4\x6A", 0x0092D4}, 
{"\xE4\x6B", 0x0092D5}, {"\xE4\x6C", 0x0092D6}, {"\xE4\x6D", 0x0092D7}, {"\xE4\x6E", 0x0092D8}, 
{"\xE4\x6F", 0x0092D9}, {"\xE4\x70", 0x0092DA}, {"\xE4\x71", 0x0092DB}, {"\xE4\x72", 0x0092DC}, 
{"\xE4\x73", 0x0092DD}, {"\xE4\x74", 0x0092DE}, {"\xE4\x75", 0x0092DF}, {"\xE4\x76", 0x0092E0}, 
{"\xE4\x77", 0x0092E1}, {"\xE4\x78", 0x0092E2}, {"\xE4\x79", 0x0092E3}, {"\xE4\x7A", 0x0092E4}, 
{"\xE4\x7B", 0x0092E5}, {"\xE4\x7C", 0x0092E6}, {"\xE4\x7D", 0x0092E7}, {"\xE4\x7E", 0x0092E8}, 
{"\xE4\x80", 0x0092E9}, {"\xE4\x81", 0x0092EA}, {"\xE4\x82", 0x0092EB}, {"\xE4\x83", 0x0092EC}, 
{"\xE4\x84", 0x0092ED}, {"\xE4\x85", 0x0092EE}, {"\xE4\x86", 0x0092EF}, {"\xE4\x87", 0x0092F0}, 
{"\xE4\x88", 0x0092F1}, {"\xE4\x89", 0x0092F2}, {"\xE4\x8A", 0x0092F3}, {"\xE4\x8B", 0x0092F4}, 
{"\xE4\x8C", 0x0092F5}, {"\xE4\x8D", 0x0092F6}, {"\xE4\x8E", 0x0092F7}, {"\xE4\x8F", 0x0092F8}, 
{"\xE4\x90", 0x0092F9}, {"\xE4\x91", 0x0092FA}, {"\xE4\x92", 0x0092FB}, {"\xE4\x93", 0x0092FC}, 
{"\xE4\x94", 0x0092FD}, {"\xE4\x95", 0x0092FE}, {"\xE4\x96", 0x0092FF}, {"\xE4\x97", 0x009300}, 
{"\xE4\x98", 0x009301}, {"\xE4\x99", 0x009302}, {"\xE4\x9A", 0x009303}, {"\xE4\x9B", 0x009304}, 
{"\xE4\x9C", 0x009305}, {"\xE4\x9D", 0x009306}, {"\xE4\x9E", 0x009307}, {"\xE4\x9F", 0x009308}, 
{"\xE4\xA0", 0x009309}, {"\xE4\xA1", 0x006D39}, {"\xE4\xA2", 0x006D27}, {"\xE4\xA3", 0x006D0C}, 
{"\xE4\xA4", 0x006D43}, {"\xE4\xA5", 0x006D48}, {"\xE4\xA6", 0x006D07}, {"\xE4\xA7", 0x006D04}, 
{"\xE4\xA8", 0x006D19}, {"\xE4\xA9", 0x006D0E}, {"\xE4\xAA", 0x006D2B}, {"\xE4\xAB", 0x006D4D}, 
{"\xE4\xAC", 0x006D2E}, {"\xE4\xAD", 0x006D35}, {"\xE4\xAE", 0x006D1A}, {"\xE4\xAF", 0x006D4F}, 
{"\xE4\xB0", 0x006D52}, {"\xE4\xB1", 0x006D54}, {"\xE4\xB2", 0x006D33}, {"\xE4\xB3", 0x006D91}, 
{"\xE4\xB4", 0x006D6F}, {"\xE4\xB5", 0x006D9E}, {"\xE4\xB6", 0x006DA0}, {"\xE4\xB7", 0x006D5E}, 
{"\xE4\xB8", 0x006D93}, {"\xE4\xB9", 0x006D94}, {"\xE4\xBA", 0x006D5C}, {"\xE4\xBB", 0x006D60}, 
{"\xE4\xBC", 0x006D7C}, {"\xE4\xBD", 0x006D63}, {"\xE4\xBE", 0x006E1A}, {"\xE4\xBF", 0x006DC7}, 
{"\xE4\xC0", 0x006DC5}, {"\xE4\xC1", 0x006DDE}, {"\xE4\xC2", 0x006E0E}, {"\xE4\xC3", 0x006DBF}, 
{"\xE4\xC4", 0x006DE0}, {"\xE4\xC5", 0x006E11}, {"\xE4\xC6", 0x006DE6}, {"\xE4\xC7", 0x006DDD}, 
{"\xE4\xC8", 0x006DD9}, {"\xE4\xC9", 0x006E16}, {"\xE4\xCA", 0x006DAB}, {"\xE4\xCB", 0x006E0C}, 
{"\xE4\xCC", 0x006DAE}, {"\xE4\xCD", 0x006E2B}, {"\xE4\xCE", 0x006E6E}, {"\xE4\xCF", 0x006E4E}, 
{"\xE4\xD0", 0x006E6B}, {"\xE4\xD1", 0x006EB2}, {"\xE4\xD2", 0x006E5F}, {"\xE4\xD3", 0x006E86}, 
{"\xE4\xD4", 0x006E53}, {"\xE4\xD5", 0x006E54}, {"\xE4\xD6", 0x006E32}, {"\xE4\xD7", 0x006E25}, 
{"\xE4\xD8", 0x006E44}, {"\xE4\xD9", 0x006EDF}, {"\xE4\xDA", 0x006EB1}, {"\xE4\xDB", 0x006E98}, 
{"\xE4\xDC", 0x006EE0}, {"\xE4\xDD", 0x006F2D}, {"\xE4\xDE", 0x006EE2}, {"\xE4\xDF", 0x006EA5}, 
{"\xE4\xE0", 0x006EA7}, {"\xE4\xE1", 0x006EBD}, {"\xE4\xE2", 0x006EBB}, {"\xE4\xE3", 0x006EB7}, 
{"\xE4\xE4", 0x006ED7}, {"\xE4\xE5", 0x006EB4}, {"\xE4\xE6", 0x006ECF}, {"\xE4\xE7", 0x006E8F}, 
{"\xE4\xE8", 0x006EC2}, {"\xE4\xE9", 0x006E9F}, {"\xE4\xEA", 0x006F62}, {"\xE4\xEB", 0x006F46}, 
{"\xE4\xEC", 0x006F47}, {"\xE4\xED", 0x006F24}, {"\xE4\xEE", 0x006F15}, {"\xE4\xEF", 0x006EF9}, 
{"\xE4\xF0", 0x006F2F}, {"\xE4\xF1", 0x006F36}, {"\xE4\xF2", 0x006F4B}, {"\xE4\xF3", 0x006F74}, 
{"\xE4\xF4", 0x006F2A}, {"\xE4\xF5", 0x006F09}, {"\xE4\xF6", 0x006F29}, {"\xE4\xF7", 0x006F89}, 
{"\xE4\xF8", 0x006F8D}, {"\xE4\xF9", 0x006F8C}, {"\xE4\xFA", 0x006F78}, {"\xE4\xFB", 0x006F72}, 
{"\xE4\xFC", 0x006F7C}, {"\xE4\xFD", 0x006F7A}, {"\xE4\xFE", 0x006FD1}, {"\xE5\x40", 0x00930A}, 
{"\xE5\x41", 0x00930B}, {"\xE5\x42", 0x00930C}, {"\xE5\x43", 0x00930D}, {"\xE5\x44", 0x00930E}, 
{"\xE5\x45", 0x00930F}, {"\xE5\x46", 0x009310}, {"\xE5\x47", 0x009311}, {"\xE5\x48", 0x009312}, 
{"\xE5\x49", 0x009313}, {"\xE5\x4A", 0x009314}, {"\xE5\x4B", 0x009315}, {"\xE5\x4C", 0x009316}, 
{"\xE5\x4D", 0x009317}, {"\xE5\x4E", 0x009318}, {"\xE5\x4F", 0x009319}, {"\xE5\x50", 0x00931A}, 
{"\xE5\x51", 0x00931B}, {"\xE5\x52", 0x00931C}, {"\xE5\x53", 0x00931D}, {"\xE5\x54", 0x00931E}, 
{"\xE5\x55", 0x00931F}, {"\xE5\x56", 0x009320}, {"\xE5\x57", 0x009321}, {"\xE5\x58", 0x009322}, 
{"\xE5\x59", 0x009323}, {"\xE5\x5A", 0x009324}, {"\xE5\x5B", 0x009325}, {"\xE5\x5C", 0x009326}, 
{"\xE5\x5D", 0x009327}, {"\xE5\x5E", 0x009328}, {"\xE5\x5F", 0x009329}, {"\xE5\x60", 0x00932A}, 
{"\xE5\x61", 0x00932B}, {"\xE5\x62", 0x00932C}, {"\xE5\x63", 0x00932D}, {"\xE5\x64", 0x00932E}, 
{"\xE5\x65", 0x00932F}, {"\xE5\x66", 0x009330}, {"\xE5\x67", 0x009331}, {"\xE5\x68", 0x009332}, 
{"\xE5\x69", 0x009333}, {"\xE5\x6A", 0x009334}, {"\xE5\x6B", 0x009335}, {"\xE5\x6C", 0x009336}, 
{"\xE5\x6D", 0x009337}, {"\xE5\x6E", 0x009338}, {"\xE5\x6F", 0x009339}, {"\xE5\x70", 0x00933A}, 
{"\xE5\x71", 0x00933B}, {"\xE5\x72", 0x00933C}, {"\xE5\x73", 0x00933D}, {"\xE5\x74", 0x00933F}, 
{"\xE5\x75", 0x009340}, {"\xE5\x76", 0x009341}, {"\xE5\x77", 0x009342}, {"\xE5\x78", 0x009343}, 
{"\xE5\x79", 0x009344}, {"\xE5\x7A", 0x009345}, {"\xE5\x7B", 0x009346}, {"\xE5\x7C", 0x009347}, 
{"\xE5\x7D", 0x009348}, {"\xE5\x7E", 0x009349}, {"\xE5\x80", 0x00934A}, {"\xE5\x81", 0x00934B}, 
{"\xE5\x82", 0x00934C}, {"\xE5\x83", 0x00934D}, {"\xE5\x84", 0x00934E}, {"\xE5\x85", 0x00934F}, 
{"\xE5\x86", 0x009350}, {"\xE5\x87", 0x009351}, {"\xE5\x88", 0x009352}, {"\xE5\x89", 0x009353}, 

};
 for(size_t i=1; i<sizeof(db2bmp_4a_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_4a_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_4b_gb18030_init()
{
static MB2UData db2bmp_4b_gb18030 [] = { {"", 0}, 
{"\xE5\x8A", 0x009354}, {"\xE5\x8B", 0x009355}, {"\xE5\x8C", 0x009356}, {"\xE5\x8D", 0x009357}, 
{"\xE5\x8E", 0x009358}, {"\xE5\x8F", 0x009359}, {"\xE5\x90", 0x00935A}, {"\xE5\x91", 0x00935B}, 
{"\xE5\x92", 0x00935C}, {"\xE5\x93", 0x00935D}, {"\xE5\x94", 0x00935E}, {"\xE5\x95", 0x00935F}, 
{"\xE5\x96", 0x009360}, {"\xE5\x97", 0x009361}, {"\xE5\x98", 0x009362}, {"\xE5\x99", 0x009363}, 
{"\xE5\x9A", 0x009364}, {"\xE5\x9B", 0x009365}, {"\xE5\x9C", 0x009366}, {"\xE5\x9D", 0x009367}, 
{"\xE5\x9E", 0x009368}, {"\xE5\x9F", 0x009369}, {"\xE5\xA0", 0x00936B}, {"\xE5\xA1", 0x006FC9}, 
{"\xE5\xA2", 0x006FA7}, {"\xE5\xA3", 0x006FB9}, {"\xE5\xA4", 0x006FB6}, {"\xE5\xA5", 0x006FC2}, 
{"\xE5\xA6", 0x006FE1}, {"\xE5\xA7", 0x006FEE}, {"\xE5\xA8", 0x006FDE}, {"\xE5\xA9", 0x006FE0}, 
{"\xE5\xAA", 0x006FEF}, {"\xE5\xAB", 0x00701A}, {"\xE5\xAC", 0x007023}, {"\xE5\xAD", 0x00701B}, 
{"\xE5\xAE", 0x007039}, {"\xE5\xAF", 0x007035}, {"\xE5\xB0", 0x00704F}, {"\xE5\xB1", 0x00705E}, 
{"\xE5\xB2", 0x005B80}, {"\xE5\xB3", 0x005B84}, {"\xE5\xB4", 0x005B95}, {"\xE5\xB5", 0x005B93}, 
{"\xE5\xB6", 0x005BA5}, {"\xE5\xB7", 0x005BB8}, {"\xE5\xB8", 0x00752F}, {"\xE5\xB9", 0x009A9E}, 
{"\xE5\xBA", 0x006434}, {"\xE5\xBB", 0x005BE4}, {"\xE5\xBC", 0x005BEE}, {"\xE5\xBD", 0x008930}, 
{"\xE5\xBE", 0x005BF0}, {"\xE5\xBF", 0x008E47}, {"\xE5\xC0", 0x008B07}, {"\xE5\xC1", 0x008FB6}, 
{"\xE5\xC2", 0x008FD3}, {"\xE5\xC3", 0x008FD5}, {"\xE5\xC4", 0x008FE5}, {"\xE5\xC5", 0x008FEE}, 
{"\xE5\xC6", 0x008FE4}, {"\xE5\xC7", 0x008FE9}, {"\xE5\xC8", 0x008FE6}, {"\xE5\xC9", 0x008FF3}, 
{"\xE5\xCA", 0x008FE8}, {"\xE5\xCB", 0x009005}, {"\xE5\xCC", 0x009004}, {"\xE5\xCD", 0x00900B}, 
{"\xE5\xCE", 0x009026}, {"\xE5\xCF", 0x009011}, {"\xE5\xD0", 0x00900D}, {"\xE5\xD1", 0x009016}, 
{"\xE5\xD2", 0x009021}, {"\xE5\xD3", 0x009035}, {"\xE5\xD4", 0x009036}, {"\xE5\xD5", 0x00902D}, 
{"\xE5\xD6", 0x00902F}, {"\xE5\xD7", 0x009044}, {"\xE5\xD8", 0x009051}, {"\xE5\xD9", 0x009052}, 
{"\xE5\xDA", 0x009050}, {"\xE5\xDB", 0x009068}, {"\xE5\xDC", 0x009058}, {"\xE5\xDD", 0x009062}, 
{"\xE5\xDE", 0x00905B}, {"\xE5\xDF", 0x0066B9}, {"\xE5\xE0", 0x009074}, {"\xE5\xE1", 0x00907D}, 
{"\xE5\xE2", 0x009082}, {"\xE5\xE3", 0x009088}, {"\xE5\xE4", 0x009083}, {"\xE5\xE5", 0x00908B}, 
{"\xE5\xE6", 0x005F50}, {"\xE5\xE7", 0x005F57}, {"\xE5\xE8", 0x005F56}, {"\xE5\xE9", 0x005F58}, 
{"\xE5\xEA", 0x005C3B}, {"\xE5\xEB", 0x0054AB}, {"\xE5\xEC", 0x005C50}, {"\xE5\xED", 0x005C59}, 
{"\xE5\xEE", 0x005B71}, {"\xE5\xEF", 0x005C63}, {"\xE5\xF0", 0x005C66}, {"\xE5\xF1", 0x007FBC}, 
{"\xE5\xF2", 0x005F2A}, {"\xE5\xF3", 0x005F29}, {"\xE5\xF4", 0x005F2D}, {"\xE5\xF5", 0x008274}, 
{"\xE5\xF6", 0x005F3C}, {"\xE5\xF7", 0x009B3B}, {"\xE5\xF8", 0x005C6E}, {"\xE5\xF9", 0x005981}, 
{"\xE5\xFA", 0x005983}, {"\xE5\xFB", 0x00598D}, {"\xE5\xFC", 0x0059A9}, {"\xE5\xFD", 0x0059AA}, 
{"\xE5\xFE", 0x0059A3}, {"\xE6\x40", 0x00936C}, {"\xE6\x41", 0x00936D}, {"\xE6\x42", 0x00936E}, 
{"\xE6\x43", 0x00936F}, {"\xE6\x44", 0x009370}, {"\xE6\x45", 0x009371}, {"\xE6\x46", 0x009372}, 
{"\xE6\x47", 0x009373}, {"\xE6\x48", 0x009374}, {"\xE6\x49", 0x009375}, {"\xE6\x4A", 0x009376}, 
{"\xE6\x4B", 0x009377}, {"\xE6\x4C", 0x009378}, {"\xE6\x4D", 0x009379}, {"\xE6\x4E", 0x00937A}, 
{"\xE6\x4F", 0x00937B}, {"\xE6\x50", 0x00937C}, {"\xE6\x51", 0x00937D}, {"\xE6\x52", 0x00937E}, 
{"\xE6\x53", 0x00937F}, {"\xE6\x54", 0x009380}, {"\xE6\x55", 0x009381}, {"\xE6\x56", 0x009382}, 
{"\xE6\x57", 0x009383}, {"\xE6\x58", 0x009384}, {"\xE6\x59", 0x009385}, {"\xE6\x5A", 0x009386}, 
{"\xE6\x5B", 0x009387}, {"\xE6\x5C", 0x009388}, {"\xE6\x5D", 0x009389}, {"\xE6\x5E", 0x00938A}, 
{"\xE6\x5F", 0x00938B}, {"\xE6\x60", 0x00938C}, {"\xE6\x61", 0x00938D}, {"\xE6\x62", 0x00938E}, 
{"\xE6\x63", 0x009390}, {"\xE6\x64", 0x009391}, {"\xE6\x65", 0x009392}, {"\xE6\x66", 0x009393}, 
{"\xE6\x67", 0x009394}, {"\xE6\x68", 0x009395}, {"\xE6\x69", 0x009396}, {"\xE6\x6A", 0x009397}, 
{"\xE6\x6B", 0x009398}, {"\xE6\x6C", 0x009399}, {"\xE6\x6D", 0x00939A}, {"\xE6\x6E", 0x00939B}, 
{"\xE6\x6F", 0x00939C}, {"\xE6\x70", 0x00939D}, {"\xE6\x71", 0x00939E}, {"\xE6\x72", 0x00939F}, 
{"\xE6\x73", 0x0093A0}, {"\xE6\x74", 0x0093A1}, {"\xE6\x75", 0x0093A2}, {"\xE6\x76", 0x0093A3}, 
{"\xE6\x77", 0x0093A4}, {"\xE6\x78", 0x0093A5}, {"\xE6\x79", 0x0093A6}, {"\xE6\x7A", 0x0093A7}, 
{"\xE6\x7B", 0x0093A8}, {"\xE6\x7C", 0x0093A9}, {"\xE6\x7D", 0x0093AA}, {"\xE6\x7E", 0x0093AB}, 
{"\xE6\x80", 0x0093AC}, {"\xE6\x81", 0x0093AD}, {"\xE6\x82", 0x0093AE}, {"\xE6\x83", 0x0093AF}, 
{"\xE6\x84", 0x0093B0}, {"\xE6\x85", 0x0093B1}, {"\xE6\x86", 0x0093B2}, {"\xE6\x87", 0x0093B3}, 
{"\xE6\x88", 0x0093B4}, {"\xE6\x89", 0x0093B5}, {"\xE6\x8A", 0x0093B6}, {"\xE6\x8B", 0x0093B7}, 
{"\xE6\x8C", 0x0093B8}, {"\xE6\x8D", 0x0093B9}, {"\xE6\x8E", 0x0093BA}, {"\xE6\x8F", 0x0093BB}, 
{"\xE6\x90", 0x0093BC}, {"\xE6\x91", 0x0093BD}, {"\xE6\x92", 0x0093BE}, {"\xE6\x93", 0x0093BF}, 
{"\xE6\x94", 0x0093C0}, {"\xE6\x95", 0x0093C1}, {"\xE6\x96", 0x0093C2}, {"\xE6\x97", 0x0093C3}, 
{"\xE6\x98", 0x0093C4}, {"\xE6\x99", 0x0093C5}, {"\xE6\x9A", 0x0093C6}, {"\xE6\x9B", 0x0093C7}, 
{"\xE6\x9C", 0x0093C8}, {"\xE6\x9D", 0x0093C9}, {"\xE6\x9E", 0x0093CB}, {"\xE6\x9F", 0x0093CC}, 
{"\xE6\xA0", 0x0093CD}, {"\xE6\xA1", 0x005997}, {"\xE6\xA2", 0x0059CA}, {"\xE6\xA3", 0x0059AB}, 
{"\xE6\xA4", 0x00599E}, {"\xE6\xA5", 0x0059A4}, {"\xE6\xA6", 0x0059D2}, {"\xE6\xA7", 0x0059B2}, 
{"\xE6\xA8", 0x0059AF}, {"\xE6\xA9", 0x0059D7}, {"\xE6\xAA", 0x0059BE}, {"\xE6\xAB", 0x005A05}, 
{"\xE6\xAC", 0x005A06}, {"\xE6\xAD", 0x0059DD}, {"\xE6\xAE", 0x005A08}, {"\xE6\xAF", 0x0059E3}, 
{"\xE6\xB0", 0x0059D8}, {"\xE6\xB1", 0x0059F9}, {"\xE6\xB2", 0x005A0C}, {"\xE6\xB3", 0x005A09}, 
{"\xE6\xB4", 0x005A32}, {"\xE6\xB5", 0x005A34}, {"\xE6\xB6", 0x005A11}, {"\xE6\xB7", 0x005A23}, 
{"\xE6\xB8", 0x005A13}, {"\xE6\xB9", 0x005A40}, {"\xE6\xBA", 0x005A67}, {"\xE6\xBB", 0x005A4A}, 
{"\xE6\xBC", 0x005A55}, {"\xE6\xBD", 0x005A3C}, {"\xE6\xBE", 0x005A62}, {"\xE6\xBF", 0x005A75}, 
{"\xE6\xC0", 0x0080EC}, {"\xE6\xC1", 0x005AAA}, {"\xE6\xC2", 0x005A9B}, {"\xE6\xC3", 0x005A77}, 
{"\xE6\xC4", 0x005A7A}, {"\xE6\xC5", 0x005ABE}, {"\xE6\xC6", 0x005AEB}, {"\xE6\xC7", 0x005AB2}, 
{"\xE6\xC8", 0x005AD2}, {"\xE6\xC9", 0x005AD4}, {"\xE6\xCA", 0x005AB8}, {"\xE6\xCB", 0x005AE0}, 

};
 for(size_t i=1; i<sizeof(db2bmp_4b_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_4b_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_4c_gb18030_init()
{
static MB2UData db2bmp_4c_gb18030 [] = { {"", 0}, 
{"\xE6\xCC", 0x005AE3}, {"\xE6\xCD", 0x005AF1}, {"\xE6\xCE", 0x005AD6}, {"\xE6\xCF", 0x005AE6}, 
{"\xE6\xD0", 0x005AD8}, {"\xE6\xD1", 0x005ADC}, {"\xE6\xD2", 0x005B09}, {"\xE6\xD3", 0x005B17}, 
{"\xE6\xD4", 0x005B16}, {"\xE6\xD5", 0x005B32}, {"\xE6\xD6", 0x005B37}, {"\xE6\xD7", 0x005B40}, 
{"\xE6\xD8", 0x005C15}, {"\xE6\xD9", 0x005C1C}, {"\xE6\xDA", 0x005B5A}, {"\xE6\xDB", 0x005B65}, 
{"\xE6\xDC", 0x005B73}, {"\xE6\xDD", 0x005B51}, {"\xE6\xDE", 0x005B53}, {"\xE6\xDF", 0x005B62}, 
{"\xE6\xE0", 0x009A75}, {"\xE6\xE1", 0x009A77}, {"\xE6\xE2", 0x009A78}, {"\xE6\xE3", 0x009A7A}, 
{"\xE6\xE4", 0x009A7F}, {"\xE6\xE5", 0x009A7D}, {"\xE6\xE6", 0x009A80}, {"\xE6\xE7", 0x009A81}, 
{"\xE6\xE8", 0x009A85}, {"\xE6\xE9", 0x009A88}, {"\xE6\xEA", 0x009A8A}, {"\xE6\xEB", 0x009A90}, 
{"\xE6\xEC", 0x009A92}, {"\xE6\xED", 0x009A93}, {"\xE6\xEE", 0x009A96}, {"\xE6\xEF", 0x009A98}, 
{"\xE6\xF0", 0x009A9B}, {"\xE6\xF1", 0x009A9C}, {"\xE6\xF2", 0x009A9D}, {"\xE6\xF3", 0x009A9F}, 
{"\xE6\xF4", 0x009AA0}, {"\xE6\xF5", 0x009AA2}, {"\xE6\xF6", 0x009AA3}, {"\xE6\xF7", 0x009AA5}, 
{"\xE6\xF8", 0x009AA7}, {"\xE6\xF9", 0x007E9F}, {"\xE6\xFA", 0x007EA1}, {"\xE6\xFB", 0x007EA3}, 
{"\xE6\xFC", 0x007EA5}, {"\xE6\xFD", 0x007EA8}, {"\xE6\xFE", 0x007EA9}, {"\xE7\x40", 0x0093CE}, 
{"\xE7\x41", 0x0093CF}, {"\xE7\x42", 0x0093D0}, {"\xE7\x43", 0x0093D1}, {"\xE7\x44", 0x0093D2}, 
{"\xE7\x45", 0x0093D3}, {"\xE7\x46", 0x0093D4}, {"\xE7\x47", 0x0093D5}, {"\xE7\x48", 0x0093D7}, 
{"\xE7\x49", 0x0093D8}, {"\xE7\x4A", 0x0093D9}, {"\xE7\x4B", 0x0093DA}, {"\xE7\x4C", 0x0093DB}, 
{"\xE7\x4D", 0x0093DC}, {"\xE7\x4E", 0x0093DD}, {"\xE7\x4F", 0x0093DE}, {"\xE7\x50", 0x0093DF}, 
{"\xE7\x51", 0x0093E0}, {"\xE7\x52", 0x0093E1}, {"\xE7\x53", 0x0093E2}, {"\xE7\x54", 0x0093E3}, 
{"\xE7\x55", 0x0093E4}, {"\xE7\x56", 0x0093E5}, {"\xE7\x57", 0x0093E6}, {"\xE7\x58", 0x0093E7}, 
{"\xE7\x59", 0x0093E8}, {"\xE7\x5A", 0x0093E9}, {"\xE7\x5B", 0x0093EA}, {"\xE7\x5C", 0x0093EB}, 
{"\xE7\x5D", 0x0093EC}, {"\xE7\x5E", 0x0093ED}, {"\xE7\x5F", 0x0093EE}, {"\xE7\x60", 0x0093EF}, 
{"\xE7\x61", 0x0093F0}, {"\xE7\x62", 0x0093F1}, {"\xE7\x63", 0x0093F2}, {"\xE7\x64", 0x0093F3}, 
{"\xE7\x65", 0x0093F4}, {"\xE7\x66", 0x0093F5}, {"\xE7\x67", 0x0093F6}, {"\xE7\x68", 0x0093F7}, 
{"\xE7\x69", 0x0093F8}, {"\xE7\x6A", 0x0093F9}, {"\xE7\x6B", 0x0093FA}, {"\xE7\x6C", 0x0093FB}, 
{"\xE7\x6D", 0x0093FC}, {"\xE7\x6E", 0x0093FD}, {"\xE7\x6F", 0x0093FE}, {"\xE7\x70", 0x0093FF}, 
{"\xE7\x71", 0x009400}, {"\xE7\x72", 0x009401}, {"\xE7\x73", 0x009402}, {"\xE7\x74", 0x009403}, 
{"\xE7\x75", 0x009404}, {"\xE7\x76", 0x009405}, {"\xE7\x77", 0x009406}, {"\xE7\x78", 0x009407}, 
{"\xE7\x79", 0x009408}, {"\xE7\x7A", 0x009409}, {"\xE7\x7B", 0x00940A}, {"\xE7\x7C", 0x00940B}, 
{"\xE7\x7D", 0x00940C}, {"\xE7\x7E", 0x00940D}, {"\xE7\x80", 0x00940E}, {"\xE7\x81", 0x00940F}, 
{"\xE7\x82", 0x009410}, {"\xE7\x83", 0x009411}, {"\xE7\x84", 0x009412}, {"\xE7\x85", 0x009413}, 
{"\xE7\x86", 0x009414}, {"\xE7\x87", 0x009415}, {"\xE7\x88", 0x009416}, {"\xE7\x89", 0x009417}, 
{"\xE7\x8A", 0x009418}, {"\xE7\x8B", 0x009419}, {"\xE7\x8C", 0x00941A}, {"\xE7\x8D", 0x00941B}, 
{"\xE7\x8E", 0x00941C}, {"\xE7\x8F", 0x00941D}, {"\xE7\x90", 0x00941E}, {"\xE7\x91", 0x00941F}, 
{"\xE7\x92", 0x009420}, {"\xE7\x93", 0x009421}, {"\xE7\x94", 0x009422}, {"\xE7\x95", 0x009423}, 
{"\xE7\x96", 0x009424}, {"\xE7\x97", 0x009425}, {"\xE7\x98", 0x009426}, {"\xE7\x99", 0x009427}, 
{"\xE7\x9A", 0x009428}, {"\xE7\x9B", 0x009429}, {"\xE7\x9C", 0x00942A}, {"\xE7\x9D", 0x00942B}, 
{"\xE7\x9E", 0x00942C}, {"\xE7\x9F", 0x00942D}, {"\xE7\xA0", 0x00942E}, {"\xE7\xA1", 0x007EAD}, 
{"\xE7\xA2", 0x007EB0}, {"\xE7\xA3", 0x007EBE}, {"\xE7\xA4", 0x007EC0}, {"\xE7\xA5", 0x007EC1}, 
{"\xE7\xA6", 0x007EC2}, {"\xE7\xA7", 0x007EC9}, {"\xE7\xA8", 0x007ECB}, {"\xE7\xA9", 0x007ECC}, 
{"\xE7\xAA", 0x007ED0}, {"\xE7\xAB", 0x007ED4}, {"\xE7\xAC", 0x007ED7}, {"\xE7\xAD", 0x007EDB}, 
{"\xE7\xAE", 0x007EE0}, {"\xE7\xAF", 0x007EE1}, {"\xE7\xB0", 0x007EE8}, {"\xE7\xB1", 0x007EEB}, 
{"\xE7\xB2", 0x007EEE}, {"\xE7\xB3", 0x007EEF}, {"\xE7\xB4", 0x007EF1}, {"\xE7\xB5", 0x007EF2}, 
{"\xE7\xB6", 0x007F0D}, {"\xE7\xB7", 0x007EF6}, {"\xE7\xB8", 0x007EFA}, {"\xE7\xB9", 0x007EFB}, 
{"\xE7\xBA", 0x007EFE}, {"\xE7\xBB", 0x007F01}, {"\xE7\xBC", 0x007F02}, {"\xE7\xBD", 0x007F03}, 
{"\xE7\xBE", 0x007F07}, {"\xE7\xBF", 0x007F08}, {"\xE7\xC0", 0x007F0B}, {"\xE7\xC1", 0x007F0C}, 
{"\xE7\xC2", 0x007F0F}, {"\xE7\xC3", 0x007F11}, {"\xE7\xC4", 0x007F12}, {"\xE7\xC5", 0x007F17}, 
{"\xE7\xC6", 0x007F19}, {"\xE7\xC7", 0x007F1C}, {"\xE7\xC8", 0x007F1B}, {"\xE7\xC9", 0x007F1F}, 
{"\xE7\xCA", 0x007F21}, {"\xE7\xCB", 0x007F22}, {"\xE7\xCC", 0x007F23}, {"\xE7\xCD", 0x007F24}, 
{"\xE7\xCE", 0x007F25}, {"\xE7\xCF", 0x007F26}, {"\xE7\xD0", 0x007F27}, {"\xE7\xD1", 0x007F2A}, 
{"\xE7\xD2", 0x007F2B}, {"\xE7\xD3", 0x007F2C}, {"\xE7\xD4", 0x007F2D}, {"\xE7\xD5", 0x007F2F}, 
{"\xE7\xD6", 0x007F30}, {"\xE7\xD7", 0x007F31}, {"\xE7\xD8", 0x007F32}, {"\xE7\xD9", 0x007F33}, 
{"\xE7\xDA", 0x007F35}, {"\xE7\xDB", 0x005E7A}, {"\xE7\xDC", 0x00757F}, {"\xE7\xDD", 0x005DDB}, 
{"\xE7\xDE", 0x00753E}, {"\xE7\xDF", 0x009095}, {"\xE7\xE0", 0x00738E}, {"\xE7\xE1", 0x007391}, 
{"\xE7\xE2", 0x0073AE}, {"\xE7\xE3", 0x0073A2}, {"\xE7\xE4", 0x00739F}, {"\xE7\xE5", 0x0073CF}, 
{"\xE7\xE6", 0x0073C2}, {"\xE7\xE7", 0x0073D1}, {"\xE7\xE8", 0x0073B7}, {"\xE7\xE9", 0x0073B3}, 
{"\xE7\xEA", 0x0073C0}, {"\xE7\xEB", 0x0073C9}, {"\xE7\xEC", 0x0073C8}, {"\xE7\xED", 0x0073E5}, 
{"\xE7\xEE", 0x0073D9}, {"\xE7\xEF", 0x00987C}, {"\xE7\xF0", 0x00740A}, {"\xE7\xF1", 0x0073E9}, 
{"\xE7\xF2", 0x0073E7}, {"\xE7\xF3", 0x0073DE}, {"\xE7\xF4", 0x0073BA}, {"\xE7\xF5", 0x0073F2}, 
{"\xE7\xF6", 0x00740F}, {"\xE7\xF7", 0x00742A}, {"\xE7\xF8", 0x00745B}, {"\xE7\xF9", 0x007426}, 
{"\xE7\xFA", 0x007425}, {"\xE7\xFB", 0x007428}, {"\xE7\xFC", 0x007430}, {"\xE7\xFD", 0x00742E}, 
{"\xE7\xFE", 0x00742C}, {"\xE8\x40", 0x00942F}, {"\xE8\x41", 0x009430}, {"\xE8\x42", 0x009431}, 
{"\xE8\x43", 0x009432}, {"\xE8\x44", 0x009433}, {"\xE8\x45", 0x009434}, {"\xE8\x46", 0x009435}, 
{"\xE8\x47", 0x009436}, {"\xE8\x48", 0x009437}, {"\xE8\x49", 0x009438}, {"\xE8\x4A", 0x009439}, 
{"\xE8\x4B", 0x00943A}, {"\xE8\x4C", 0x00943B}, {"\xE8\x4D", 0x00943C}, {"\xE8\x4E", 0x00943D}, 

};
 for(size_t i=1; i<sizeof(db2bmp_4c_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_4c_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_4d_gb18030_init()
{
static MB2UData db2bmp_4d_gb18030 [] = { {"", 0}, 
{"\xE8\x4F", 0x00943F}, {"\xE8\x50", 0x009440}, {"\xE8\x51", 0x009441}, {"\xE8\x52", 0x009442}, 
{"\xE8\x53", 0x009443}, {"\xE8\x54", 0x009444}, {"\xE8\x55", 0x009445}, {"\xE8\x56", 0x009446}, 
{"\xE8\x57", 0x009447}, {"\xE8\x58", 0x009448}, {"\xE8\x59", 0x009449}, {"\xE8\x5A", 0x00944A}, 
{"\xE8\x5B", 0x00944B}, {"\xE8\x5C", 0x00944C}, {"\xE8\x5D", 0x00944D}, {"\xE8\x5E", 0x00944E}, 
{"\xE8\x5F", 0x00944F}, {"\xE8\x60", 0x009450}, {"\xE8\x61", 0x009451}, {"\xE8\x62", 0x009452}, 
{"\xE8\x63", 0x009453}, {"\xE8\x64", 0x009454}, {"\xE8\x65", 0x009455}, {"\xE8\x66", 0x009456}, 
{"\xE8\x67", 0x009457}, {"\xE8\x68", 0x009458}, {"\xE8\x69", 0x009459}, {"\xE8\x6A", 0x00945A}, 
{"\xE8\x6B", 0x00945B}, {"\xE8\x6C", 0x00945C}, {"\xE8\x6D", 0x00945D}, {"\xE8\x6E", 0x00945E}, 
{"\xE8\x6F", 0x00945F}, {"\xE8\x70", 0x009460}, {"\xE8\x71", 0x009461}, {"\xE8\x72", 0x009462}, 
{"\xE8\x73", 0x009463}, {"\xE8\x74", 0x009464}, {"\xE8\x75", 0x009465}, {"\xE8\x76", 0x009466}, 
{"\xE8\x77", 0x009467}, {"\xE8\x78", 0x009468}, {"\xE8\x79", 0x009469}, {"\xE8\x7A", 0x00946A}, 
{"\xE8\x7B", 0x00946C}, {"\xE8\x7C", 0x00946D}, {"\xE8\x7D", 0x00946E}, {"\xE8\x7E", 0x00946F}, 
{"\xE8\x80", 0x009470}, {"\xE8\x81", 0x009471}, {"\xE8\x82", 0x009472}, {"\xE8\x83", 0x009473}, 
{"\xE8\x84", 0x009474}, {"\xE8\x85", 0x009475}, {"\xE8\x86", 0x009476}, {"\xE8\x87", 0x009477}, 
{"\xE8\x88", 0x009478}, {"\xE8\x89", 0x009479}, {"\xE8\x8A", 0x00947A}, {"\xE8\x8B", 0x00947B}, 
{"\xE8\x8C", 0x00947C}, {"\xE8\x8D", 0x00947D}, {"\xE8\x8E", 0x00947E}, {"\xE8\x8F", 0x00947F}, 
{"\xE8\x90", 0x009480}, {"\xE8\x91", 0x009481}, {"\xE8\x92", 0x009482}, {"\xE8\x93", 0x009483}, 
{"\xE8\x94", 0x009484}, {"\xE8\x95", 0x009491}, {"\xE8\x96", 0x009496}, {"\xE8\x97", 0x009498}, 
{"\xE8\x98", 0x0094C7}, {"\xE8\x99", 0x0094CF}, {"\xE8\x9A", 0x0094D3}, {"\xE8\x9B", 0x0094D4}, 
{"\xE8\x9C", 0x0094DA}, {"\xE8\x9D", 0x0094E6}, {"\xE8\x9E", 0x0094FB}, {"\xE8\x9F", 0x00951C}, 
{"\xE8\xA0", 0x009520}, {"\xE8\xA1", 0x00741B}, {"\xE8\xA2", 0x00741A}, {"\xE8\xA3", 0x007441}, 
{"\xE8\xA4", 0x00745C}, {"\xE8\xA5", 0x007457}, {"\xE8\xA6", 0x007455}, {"\xE8\xA7", 0x007459}, 
{"\xE8\xA8", 0x007477}, {"\xE8\xA9", 0x00746D}, {"\xE8\xAA", 0x00747E}, {"\xE8\xAB", 0x00749C}, 
{"\xE8\xAC", 0x00748E}, {"\xE8\xAD", 0x007480}, {"\xE8\xAE", 0x007481}, {"\xE8\xAF", 0x007487}, 
{"\xE8\xB0", 0x00748B}, {"\xE8\xB1", 0x00749E}, {"\xE8\xB2", 0x0074A8}, {"\xE8\xB3", 0x0074A9}, 
{"\xE8\xB4", 0x007490}, {"\xE8\xB5", 0x0074A7}, {"\xE8\xB6", 0x0074D2}, {"\xE8\xB7", 0x0074BA}, 
{"\xE8\xB8", 0x0097EA}, {"\xE8\xB9", 0x0097EB}, {"\xE8\xBA", 0x0097EC}, {"\xE8\xBB", 0x00674C}, 
{"\xE8\xBC", 0x006753}, {"\xE8\xBD", 0x00675E}, {"\xE8\xBE", 0x006748}, {"\xE8\xBF", 0x006769}, 
{"\xE8\xC0", 0x0067A5}, {"\xE8\xC1", 0x006787}, {"\xE8\xC2", 0x00676A}, {"\xE8\xC3", 0x006773}, 
{"\xE8\xC4", 0x006798}, {"\xE8\xC5", 0x0067A7}, {"\xE8\xC6", 0x006775}, {"\xE8\xC7", 0x0067A8}, 
{"\xE8\xC8", 0x00679E}, {"\xE8\xC9", 0x0067AD}, {"\xE8\xCA", 0x00678B}, {"\xE8\xCB", 0x006777}, 
{"\xE8\xCC", 0x00677C}, {"\xE8\xCD", 0x0067F0}, {"\xE8\xCE", 0x006809}, {"\xE8\xCF", 0x0067D8}, 
{"\xE8\xD0", 0x00680A}, {"\xE8\xD1", 0x0067E9}, {"\xE8\xD2", 0x0067B0}, {"\xE8\xD3", 0x00680C}, 
{"\xE8\xD4", 0x0067D9}, {"\xE8\xD5", 0x0067B5}, {"\xE8\xD6", 0x0067DA}, {"\xE8\xD7", 0x0067B3}, 
{"\xE8\xD8", 0x0067DD}, {"\xE8\xD9", 0x006800}, {"\xE8\xDA", 0x0067C3}, {"\xE8\xDB", 0x0067B8}, 
{"\xE8\xDC", 0x0067E2}, {"\xE8\xDD", 0x00680E}, {"\xE8\xDE", 0x0067C1}, {"\xE8\xDF", 0x0067FD}, 
{"\xE8\xE0", 0x006832}, {"\xE8\xE1", 0x006833}, {"\xE8\xE2", 0x006860}, {"\xE8\xE3", 0x006861}, 
{"\xE8\xE4", 0x00684E}, {"\xE8\xE5", 0x006862}, {"\xE8\xE6", 0x006844}, {"\xE8\xE7", 0x006864}, 
{"\xE8\xE8", 0x006883}, {"\xE8\xE9", 0x00681D}, {"\xE8\xEA", 0x006855}, {"\xE8\xEB", 0x006866}, 
{"\xE8\xEC", 0x006841}, {"\xE8\xED", 0x006867}, {"\xE8\xEE", 0x006840}, {"\xE8\xEF", 0x00683E}, 
{"\xE8\xF0", 0x00684A}, {"\xE8\xF1", 0x006849}, {"\xE8\xF2", 0x006829}, {"\xE8\xF3", 0x0068B5}, 
{"\xE8\xF4", 0x00688F}, {"\xE8\xF5", 0x006874}, {"\xE8\xF6", 0x006877}, {"\xE8\xF7", 0x006893}, 
{"\xE8\xF8", 0x00686B}, {"\xE8\xF9", 0x0068C2}, {"\xE8\xFA", 0x00696E}, {"\xE8\xFB", 0x0068FC}, 
{"\xE8\xFC", 0x00691F}, {"\xE8\xFD", 0x006920}, {"\xE8\xFE", 0x0068F9}, {"\xE9\x40", 0x009527}, 
{"\xE9\x41", 0x009533}, {"\xE9\x42", 0x00953D}, {"\xE9\x43", 0x009543}, {"\xE9\x44", 0x009548}, 
{"\xE9\x45", 0x00954B}, {"\xE9\x46", 0x009555}, {"\xE9\x47", 0x00955A}, {"\xE9\x48", 0x009560}, 
{"\xE9\x49", 0x00956E}, {"\xE9\x4A", 0x009574}, {"\xE9\x4B", 0x009575}, {"\xE9\x4C", 0x009577}, 
{"\xE9\x4D", 0x009578}, {"\xE9\x4E", 0x009579}, {"\xE9\x4F", 0x00957A}, {"\xE9\x50", 0x00957B}, 
{"\xE9\x51", 0x00957C}, {"\xE9\x52", 0x00957D}, {"\xE9\x53", 0x00957E}, {"\xE9\x54", 0x009580}, 
{"\xE9\x55", 0x009581}, {"\xE9\x56", 0x009582}, {"\xE9\x57", 0x009583}, {"\xE9\x58", 0x009584}, 
{"\xE9\x59", 0x009585}, {"\xE9\x5A", 0x009586}, {"\xE9\x5B", 0x009587}, {"\xE9\x5C", 0x009588}, 
{"\xE9\x5D", 0x009589}, {"\xE9\x5E", 0x00958A}, {"\xE9\x5F", 0x00958B}, {"\xE9\x60", 0x00958C}, 
{"\xE9\x61", 0x00958D}, {"\xE9\x62", 0x00958E}, {"\xE9\x63", 0x00958F}, {"\xE9\x64", 0x009590}, 
{"\xE9\x65", 0x009591}, {"\xE9\x66", 0x009592}, {"\xE9\x67", 0x009593}, {"\xE9\x68", 0x009594}, 
{"\xE9\x69", 0x009595}, {"\xE9\x6A", 0x009596}, {"\xE9\x6B", 0x009597}, {"\xE9\x6C", 0x009598}, 
{"\xE9\x6D", 0x009599}, {"\xE9\x6E", 0x00959A}, {"\xE9\x6F", 0x00959B}, {"\xE9\x70", 0x00959C}, 
{"\xE9\x71", 0x00959D}, {"\xE9\x72", 0x00959E}, {"\xE9\x73", 0x00959F}, {"\xE9\x74", 0x0095A0}, 
{"\xE9\x75", 0x0095A1}, {"\xE9\x76", 0x0095A2}, {"\xE9\x77", 0x0095A3}, {"\xE9\x78", 0x0095A4}, 
{"\xE9\x79", 0x0095A5}, {"\xE9\x7A", 0x0095A6}, {"\xE9\x7B", 0x0095A7}, {"\xE9\x7C", 0x0095A8}, 
{"\xE9\x7D", 0x0095A9}, {"\xE9\x7E", 0x0095AA}, {"\xE9\x80", 0x0095AB}, {"\xE9\x81", 0x0095AC}, 
{"\xE9\x82", 0x0095AD}, {"\xE9\x83", 0x0095AE}, {"\xE9\x84", 0x0095AF}, {"\xE9\x85", 0x0095B0}, 
{"\xE9\x86", 0x0095B1}, {"\xE9\x87", 0x0095B2}, {"\xE9\x88", 0x0095B3}, {"\xE9\x89", 0x0095B4}, 
{"\xE9\x8A", 0x0095B5}, {"\xE9\x8B", 0x0095B6}, {"\xE9\x8C", 0x0095B7}, {"\xE9\x8D", 0x0095B8}, 
{"\xE9\x8E", 0x0095B9}, {"\xE9\x8F", 0x0095BA}, {"\xE9\x90", 0x0095BB}, {"\xE9\x91", 0x0095BC}, 

};
 for(size_t i=1; i<sizeof(db2bmp_4d_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_4d_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_4e_gb18030_init()
{
static MB2UData db2bmp_4e_gb18030 [] = { {"", 0}, 
{"\xE9\x92", 0x0095BD}, {"\xE9\x93", 0x0095BE}, {"\xE9\x94", 0x0095BF}, {"\xE9\x95", 0x0095C0}, 
{"\xE9\x96", 0x0095C1}, {"\xE9\x97", 0x0095C2}, {"\xE9\x98", 0x0095C3}, {"\xE9\x99", 0x0095C4}, 
{"\xE9\x9A", 0x0095C5}, {"\xE9\x9B", 0x0095C6}, {"\xE9\x9C", 0x0095C7}, {"\xE9\x9D", 0x0095C8}, 
{"\xE9\x9E", 0x0095C9}, {"\xE9\x9F", 0x0095CA}, {"\xE9\xA0", 0x0095CB}, {"\xE9\xA1", 0x006924}, 
{"\xE9\xA2", 0x0068F0}, {"\xE9\xA3", 0x00690B}, {"\xE9\xA4", 0x006901}, {"\xE9\xA5", 0x006957}, 
{"\xE9\xA6", 0x0068E3}, {"\xE9\xA7", 0x006910}, {"\xE9\xA8", 0x006971}, {"\xE9\xA9", 0x006939}, 
{"\xE9\xAA", 0x006960}, {"\xE9\xAB", 0x006942}, {"\xE9\xAC", 0x00695D}, {"\xE9\xAD", 0x006984}, 
{"\xE9\xAE", 0x00696B}, {"\xE9\xAF", 0x006980}, {"\xE9\xB0", 0x006998}, {"\xE9\xB1", 0x006978}, 
{"\xE9\xB2", 0x006934}, {"\xE9\xB3", 0x0069CC}, {"\xE9\xB4", 0x006987}, {"\xE9\xB5", 0x006988}, 
{"\xE9\xB6", 0x0069CE}, {"\xE9\xB7", 0x006989}, {"\xE9\xB8", 0x006966}, {"\xE9\xB9", 0x006963}, 
{"\xE9\xBA", 0x006979}, {"\xE9\xBB", 0x00699B}, {"\xE9\xBC", 0x0069A7}, {"\xE9\xBD", 0x0069BB}, 
{"\xE9\xBE", 0x0069AB}, {"\xE9\xBF", 0x0069AD}, {"\xE9\xC0", 0x0069D4}, {"\xE9\xC1", 0x0069B1}, 
{"\xE9\xC2", 0x0069C1}, {"\xE9\xC3", 0x0069CA}, {"\xE9\xC4", 0x0069DF}, {"\xE9\xC5", 0x006995}, 
{"\xE9\xC6", 0x0069E0}, {"\xE9\xC7", 0x00698D}, {"\xE9\xC8", 0x0069FF}, {"\xE9\xC9", 0x006A2F}, 
{"\xE9\xCA", 0x0069ED}, {"\xE9\xCB", 0x006A17}, {"\xE9\xCC", 0x006A18}, {"\xE9\xCD", 0x006A65}, 
{"\xE9\xCE", 0x0069F2}, {"\xE9\xCF", 0x006A44}, {"\xE9\xD0", 0x006A3E}, {"\xE9\xD1", 0x006AA0}, 
{"\xE9\xD2", 0x006A50}, {"\xE9\xD3", 0x006A5B}, {"\xE9\xD4", 0x006A35}, {"\xE9\xD5", 0x006A8E}, 
{"\xE9\xD6", 0x006A79}, {"\xE9\xD7", 0x006A3D}, {"\xE9\xD8", 0x006A28}, {"\xE9\xD9", 0x006A58}, 
{"\xE9\xDA", 0x006A7C}, {"\xE9\xDB", 0x006A91}, {"\xE9\xDC", 0x006A90}, {"\xE9\xDD", 0x006AA9}, 
{"\xE9\xDE", 0x006A97}, {"\xE9\xDF", 0x006AAB}, {"\xE9\xE0", 0x007337}, {"\xE9\xE1", 0x007352}, 
{"\xE9\xE2", 0x006B81}, {"\xE9\xE3", 0x006B82}, {"\xE9\xE4", 0x006B87}, {"\xE9\xE5", 0x006B84}, 
{"\xE9\xE6", 0x006B92}, {"\xE9\xE7", 0x006B93}, {"\xE9\xE8", 0x006B8D}, {"\xE9\xE9", 0x006B9A}, 
{"\xE9\xEA", 0x006B9B}, {"\xE9\xEB", 0x006BA1}, {"\xE9\xEC", 0x006BAA}, {"\xE9\xED", 0x008F6B}, 
{"\xE9\xEE", 0x008F6D}, {"\xE9\xEF", 0x008F71}, {"\xE9\xF0", 0x008F72}, {"\xE9\xF1", 0x008F73}, 
{"\xE9\xF2", 0x008F75}, {"\xE9\xF3", 0x008F76}, {"\xE9\xF4", 0x008F78}, {"\xE9\xF5", 0x008F77}, 
{"\xE9\xF6", 0x008F79}, {"\xE9\xF7", 0x008F7A}, {"\xE9\xF8", 0x008F7C}, {"\xE9\xF9", 0x008F7E}, 
{"\xE9\xFA", 0x008F81}, {"\xE9\xFB", 0x008F82}, {"\xE9\xFC", 0x008F84}, {"\xE9\xFD", 0x008F87}, 
{"\xE9\xFE", 0x008F8B}, {"\xEA\x40", 0x0095CC}, {"\xEA\x41", 0x0095CD}, {"\xEA\x42", 0x0095CE}, 
{"\xEA\x43", 0x0095CF}, {"\xEA\x44", 0x0095D0}, {"\xEA\x45", 0x0095D1}, {"\xEA\x46", 0x0095D2}, 
{"\xEA\x47", 0x0095D3}, {"\xEA\x48", 0x0095D4}, {"\xEA\x49", 0x0095D5}, {"\xEA\x4A", 0x0095D6}, 
{"\xEA\x4B", 0x0095D7}, {"\xEA\x4C", 0x0095D8}, {"\xEA\x4D", 0x0095D9}, {"\xEA\x4E", 0x0095DA}, 
{"\xEA\x4F", 0x0095DB}, {"\xEA\x50", 0x0095DC}, {"\xEA\x51", 0x0095DD}, {"\xEA\x52", 0x0095DE}, 
{"\xEA\x53", 0x0095DF}, {"\xEA\x54", 0x0095E0}, {"\xEA\x55", 0x0095E1}, {"\xEA\x56", 0x0095E2}, 
{"\xEA\x57", 0x0095E3}, {"\xEA\x58", 0x0095E4}, {"\xEA\x59", 0x0095E5}, {"\xEA\x5A", 0x0095E6}, 
{"\xEA\x5B", 0x0095E7}, {"\xEA\x5C", 0x0095EC}, {"\xEA\x5D", 0x0095FF}, {"\xEA\x5E", 0x009607}, 
{"\xEA\x5F", 0x009613}, {"\xEA\x60", 0x009618}, {"\xEA\x61", 0x00961B}, {"\xEA\x62", 0x00961E}, 
{"\xEA\x63", 0x009620}, {"\xEA\x64", 0x009623}, {"\xEA\x65", 0x009624}, {"\xEA\x66", 0x009625}, 
{"\xEA\x67", 0x009626}, {"\xEA\x68", 0x009627}, {"\xEA\x69", 0x009628}, {"\xEA\x6A", 0x009629}, 
{"\xEA\x6B", 0x00962B}, {"\xEA\x6C", 0x00962C}, {"\xEA\x6D", 0x00962D}, {"\xEA\x6E", 0x00962F}, 
{"\xEA\x6F", 0x009630}, {"\xEA\x70", 0x009637}, {"\xEA\x71", 0x009638}, {"\xEA\x72", 0x009639}, 
{"\xEA\x73", 0x00963A}, {"\xEA\x74", 0x00963E}, {"\xEA\x75", 0x009641}, {"\xEA\x76", 0x009643}, 
{"\xEA\x77", 0x00964A}, {"\xEA\x78", 0x00964E}, {"\xEA\x79", 0x00964F}, {"\xEA\x7A", 0x009651}, 
{"\xEA\x7B", 0x009652}, {"\xEA\x7C", 0x009653}, {"\xEA\x7D", 0x009656}, {"\xEA\x7E", 0x009657}, 
{"\xEA\x80", 0x009658}, {"\xEA\x81", 0x009659}, {"\xEA\x82", 0x00965A}, {"\xEA\x83", 0x00965C}, 
{"\xEA\x84", 0x00965D}, {"\xEA\x85", 0x00965E}, {"\xEA\x86", 0x009660}, {"\xEA\x87", 0x009663}, 
{"\xEA\x88", 0x009665}, {"\xEA\x89", 0x009666}, {"\xEA\x8A", 0x00966B}, {"\xEA\x8B", 0x00966D}, 
{"\xEA\x8C", 0x00966E}, {"\xEA\x8D", 0x00966F}, {"\xEA\x8E", 0x009670}, {"\xEA\x8F", 0x009671}, 
{"\xEA\x90", 0x009673}, {"\xEA\x91", 0x009678}, {"\xEA\x92", 0x009679}, {"\xEA\x93", 0x00967A}, 
{"\xEA\x94", 0x00967B}, {"\xEA\x95", 0x00967C}, {"\xEA\x96", 0x00967D}, {"\xEA\x97", 0x00967E}, 
{"\xEA\x98", 0x00967F}, {"\xEA\x99", 0x009680}, {"\xEA\x9A", 0x009681}, {"\xEA\x9B", 0x009682}, 
{"\xEA\x9C", 0x009683}, {"\xEA\x9D", 0x009684}, {"\xEA\x9E", 0x009687}, {"\xEA\x9F", 0x009689}, 
{"\xEA\xA0", 0x00968A}, {"\xEA\xA1", 0x008F8D}, {"\xEA\xA2", 0x008F8E}, {"\xEA\xA3", 0x008F8F}, 
{"\xEA\xA4", 0x008F98}, {"\xEA\xA5", 0x008F9A}, {"\xEA\xA6", 0x008ECE}, {"\xEA\xA7", 0x00620B}, 
{"\xEA\xA8", 0x006217}, {"\xEA\xA9", 0x00621B}, {"\xEA\xAA", 0x00621F}, {"\xEA\xAB", 0x006222}, 
{"\xEA\xAC", 0x006221}, {"\xEA\xAD", 0x006225}, {"\xEA\xAE", 0x006224}, {"\xEA\xAF", 0x00622C}, 
{"\xEA\xB0", 0x0081E7}, {"\xEA\xB1", 0x0074EF}, {"\xEA\xB2", 0x0074F4}, {"\xEA\xB3", 0x0074FF}, 
{"\xEA\xB4", 0x00750F}, {"\xEA\xB5", 0x007511}, {"\xEA\xB6", 0x007513}, {"\xEA\xB7", 0x006534}, 
{"\xEA\xB8", 0x0065EE}, {"\xEA\xB9", 0x0065EF}, {"\xEA\xBA", 0x0065F0}, {"\xEA\xBB", 0x00660A}, 
{"\xEA\xBC", 0x006619}, {"\xEA\xBD", 0x006772}, {"\xEA\xBE", 0x006603}, {"\xEA\xBF", 0x006615}, 
{"\xEA\xC0", 0x006600}, {"\xEA\xC1", 0x007085}, {"\xEA\xC2", 0x0066F7}, {"\xEA\xC3", 0x00661D}, 
{"\xEA\xC4", 0x006634}, {"\xEA\xC5", 0x006631}, {"\xEA\xC6", 0x006636}, {"\xEA\xC7", 0x006635}, 
{"\xEA\xC8", 0x008006}, {"\xEA\xC9", 0x00665F}, {"\xEA\xCA", 0x006654}, {"\xEA\xCB", 0x006641}, 
{"\xEA\xCC", 0x00664F}, {"\xEA\xCD", 0x006656}, {"\xEA\xCE", 0x006661}, {"\xEA\xCF", 0x006657}, 
{"\xEA\xD0", 0x006677}, {"\xEA\xD1", 0x006684}, {"\xEA\xD2", 0x00668C}, {"\xEA\xD3", 0x0066A7}, 

};
 for(size_t i=1; i<sizeof(db2bmp_4e_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_4e_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_4f_gb18030_init()
{
static MB2UData db2bmp_4f_gb18030 [] = { {"", 0}, 
{"\xEA\xD4", 0x00669D}, {"\xEA\xD5", 0x0066BE}, {"\xEA\xD6", 0x0066DB}, {"\xEA\xD7", 0x0066DC}, 
{"\xEA\xD8", 0x0066E6}, {"\xEA\xD9", 0x0066E9}, {"\xEA\xDA", 0x008D32}, {"\xEA\xDB", 0x008D33}, 
{"\xEA\xDC", 0x008D36}, {"\xEA\xDD", 0x008D3B}, {"\xEA\xDE", 0x008D3D}, {"\xEA\xDF", 0x008D40}, 
{"\xEA\xE0", 0x008D45}, {"\xEA\xE1", 0x008D46}, {"\xEA\xE2", 0x008D48}, {"\xEA\xE3", 0x008D49}, 
{"\xEA\xE4", 0x008D47}, {"\xEA\xE5", 0x008D4D}, {"\xEA\xE6", 0x008D55}, {"\xEA\xE7", 0x008D59}, 
{"\xEA\xE8", 0x0089C7}, {"\xEA\xE9", 0x0089CA}, {"\xEA\xEA", 0x0089CB}, {"\xEA\xEB", 0x0089CC}, 
{"\xEA\xEC", 0x0089CE}, {"\xEA\xED", 0x0089CF}, {"\xEA\xEE", 0x0089D0}, {"\xEA\xEF", 0x0089D1}, 
{"\xEA\xF0", 0x00726E}, {"\xEA\xF1", 0x00729F}, {"\xEA\xF2", 0x00725D}, {"\xEA\xF3", 0x007266}, 
{"\xEA\xF4", 0x00726F}, {"\xEA\xF5", 0x00727E}, {"\xEA\xF6", 0x00727F}, {"\xEA\xF7", 0x007284}, 
{"\xEA\xF8", 0x00728B}, {"\xEA\xF9", 0x00728D}, {"\xEA\xFA", 0x00728F}, {"\xEA\xFB", 0x007292}, 
{"\xEA\xFC", 0x006308}, {"\xEA\xFD", 0x006332}, {"\xEA\xFE", 0x0063B0}, {"\xEB\x40", 0x00968C}, 
{"\xEB\x41", 0x00968E}, {"\xEB\x42", 0x009691}, {"\xEB\x43", 0x009692}, {"\xEB\x44", 0x009693}, 
{"\xEB\x45", 0x009695}, {"\xEB\x46", 0x009696}, {"\xEB\x47", 0x00969A}, {"\xEB\x48", 0x00969B}, 
{"\xEB\x49", 0x00969D}, {"\xEB\x4A", 0x00969E}, {"\xEB\x4B", 0x00969F}, {"\xEB\x4C", 0x0096A0}, 
{"\xEB\x4D", 0x0096A1}, {"\xEB\x4E", 0x0096A2}, {"\xEB\x4F", 0x0096A3}, {"\xEB\x50", 0x0096A4}, 
{"\xEB\x51", 0x0096A5}, {"\xEB\x52", 0x0096A6}, {"\xEB\x53", 0x0096A8}, {"\xEB\x54", 0x0096A9}, 
{"\xEB\x55", 0x0096AA}, {"\xEB\x56", 0x0096AB}, {"\xEB\x57", 0x0096AC}, {"\xEB\x58", 0x0096AD}, 
{"\xEB\x59", 0x0096AE}, {"\xEB\x5A", 0x0096AF}, {"\xEB\x5B", 0x0096B1}, {"\xEB\x5C", 0x0096B2}, 
{"\xEB\x5D", 0x0096B4}, {"\xEB\x5E", 0x0096B5}, {"\xEB\x5F", 0x0096B7}, {"\xEB\x60", 0x0096B8}, 
{"\xEB\x61", 0x0096BA}, {"\xEB\x62", 0x0096BB}, {"\xEB\x63", 0x0096BF}, {"\xEB\x64", 0x0096C2}, 
{"\xEB\x65", 0x0096C3}, {"\xEB\x66", 0x0096C8}, {"\xEB\x67", 0x0096CA}, {"\xEB\x68", 0x0096CB}, 
{"\xEB\x69", 0x0096D0}, {"\xEB\x6A", 0x0096D1}, {"\xEB\x6B", 0x0096D3}, {"\xEB\x6C", 0x0096D4}, 
{"\xEB\x6D", 0x0096D6}, {"\xEB\x6E", 0x0096D7}, {"\xEB\x6F", 0x0096D8}, {"\xEB\x70", 0x0096D9}, 
{"\xEB\x71", 0x0096DA}, {"\xEB\x72", 0x0096DB}, {"\xEB\x73", 0x0096DC}, {"\xEB\x74", 0x0096DD}, 
{"\xEB\x75", 0x0096DE}, {"\xEB\x76", 0x0096DF}, {"\xEB\x77", 0x0096E1}, {"\xEB\x78", 0x0096E2}, 
{"\xEB\x79", 0x0096E3}, {"\xEB\x7A", 0x0096E4}, {"\xEB\x7B", 0x0096E5}, {"\xEB\x7C", 0x0096E6}, 
{"\xEB\x7D", 0x0096E7}, {"\xEB\x7E", 0x0096EB}, {"\xEB\x80", 0x0096EC}, {"\xEB\x81", 0x0096ED}, 
{"\xEB\x82", 0x0096EE}, {"\xEB\x83", 0x0096F0}, {"\xEB\x84", 0x0096F1}, {"\xEB\x85", 0x0096F2}, 
{"\xEB\x86", 0x0096F4}, {"\xEB\x87", 0x0096F5}, {"\xEB\x88", 0x0096F8}, {"\xEB\x89", 0x0096FA}, 
{"\xEB\x8A", 0x0096FB}, {"\xEB\x8B", 0x0096FC}, {"\xEB\x8C", 0x0096FD}, {"\xEB\x8D", 0x0096FF}, 
{"\xEB\x8E", 0x009702}, {"\xEB\x8F", 0x009703}, {"\xEB\x90", 0x009705}, {"\xEB\x91", 0x00970A}, 
{"\xEB\x92", 0x00970B}, {"\xEB\x93", 0x00970C}, {"\xEB\x94", 0x009710}, {"\xEB\x95", 0x009711}, 
{"\xEB\x96", 0x009712}, {"\xEB\x97", 0x009714}, {"\xEB\x98", 0x009715}, {"\xEB\x99", 0x009717}, 
{"\xEB\x9A", 0x009718}, {"\xEB\x9B", 0x009719}, {"\xEB\x9C", 0x00971A}, {"\xEB\x9D", 0x00971B}, 
{"\xEB\x9E", 0x00971D}, {"\xEB\x9F", 0x00971F}, {"\xEB\xA0", 0x009720}, {"\xEB\xA1", 0x00643F}, 
{"\xEB\xA2", 0x0064D8}, {"\xEB\xA3", 0x008004}, {"\xEB\xA4", 0x006BEA}, {"\xEB\xA5", 0x006BF3}, 
{"\xEB\xA6", 0x006BFD}, {"\xEB\xA7", 0x006BF5}, {"\xEB\xA8", 0x006BF9}, {"\xEB\xA9", 0x006C05}, 
{"\xEB\xAA", 0x006C07}, {"\xEB\xAB", 0x006C06}, {"\xEB\xAC", 0x006C0D}, {"\xEB\xAD", 0x006C15}, 
{"\xEB\xAE", 0x006C18}, {"\xEB\xAF", 0x006C19}, {"\xEB\xB0", 0x006C1A}, {"\xEB\xB1", 0x006C21}, 
{"\xEB\xB2", 0x006C29}, {"\xEB\xB3", 0x006C24}, {"\xEB\xB4", 0x006C2A}, {"\xEB\xB5", 0x006C32}, 
{"\xEB\xB6", 0x006535}, {"\xEB\xB7", 0x006555}, {"\xEB\xB8", 0x00656B}, {"\xEB\xB9", 0x00724D}, 
{"\xEB\xBA", 0x007252}, {"\xEB\xBB", 0x007256}, {"\xEB\xBC", 0x007230}, {"\xEB\xBD", 0x008662}, 
{"\xEB\xBE", 0x005216}, {"\xEB\xBF", 0x00809F}, {"\xEB\xC0", 0x00809C}, {"\xEB\xC1", 0x008093}, 
{"\xEB\xC2", 0x0080BC}, {"\xEB\xC3", 0x00670A}, {"\xEB\xC4", 0x0080BD}, {"\xEB\xC5", 0x0080B1}, 
{"\xEB\xC6", 0x0080AB}, {"\xEB\xC7", 0x0080AD}, {"\xEB\xC8", 0x0080B4}, {"\xEB\xC9", 0x0080B7}, 
{"\xEB\xCA", 0x0080E7}, {"\xEB\xCB", 0x0080E8}, {"\xEB\xCC", 0x0080E9}, {"\xEB\xCD", 0x0080EA}, 
{"\xEB\xCE", 0x0080DB}, {"\xEB\xCF", 0x0080C2}, {"\xEB\xD0", 0x0080C4}, {"\xEB\xD1", 0x0080D9}, 
{"\xEB\xD2", 0x0080CD}, {"\xEB\xD3", 0x0080D7}, {"\xEB\xD4", 0x006710}, {"\xEB\xD5", 0x0080DD}, 
{"\xEB\xD6", 0x0080EB}, {"\xEB\xD7", 0x0080F1}, {"\xEB\xD8", 0x0080F4}, {"\xEB\xD9", 0x0080ED}, 
{"\xEB\xDA", 0x00810D}, {"\xEB\xDB", 0x00810E}, {"\xEB\xDC", 0x0080F2}, {"\xEB\xDD", 0x0080FC}, 
{"\xEB\xDE", 0x006715}, {"\xEB\xDF", 0x008112}, {"\xEB\xE0", 0x008C5A}, {"\xEB\xE1", 0x008136}, 
{"\xEB\xE2", 0x00811E}, {"\xEB\xE3", 0x00812C}, {"\xEB\xE4", 0x008118}, {"\xEB\xE5", 0x008132}, 
{"\xEB\xE6", 0x008148}, {"\xEB\xE7", 0x00814C}, {"\xEB\xE8", 0x008153}, {"\xEB\xE9", 0x008174}, 
{"\xEB\xEA", 0x008159}, {"\xEB\xEB", 0x00815A}, {"\xEB\xEC", 0x008171}, {"\xEB\xED", 0x008160}, 
{"\xEB\xEE", 0x008169}, {"\xEB\xEF", 0x00817C}, {"\xEB\xF0", 0x00817D}, {"\xEB\xF1", 0x00816D}, 
{"\xEB\xF2", 0x008167}, {"\xEB\xF3", 0x00584D}, {"\xEB\xF4", 0x005AB5}, {"\xEB\xF5", 0x008188}, 
{"\xEB\xF6", 0x008182}, {"\xEB\xF7", 0x008191}, {"\xEB\xF8", 0x006ED5}, {"\xEB\xF9", 0x0081A3}, 
{"\xEB\xFA", 0x0081AA}, {"\xEB\xFB", 0x0081CC}, {"\xEB\xFC", 0x006726}, {"\xEB\xFD", 0x0081CA}, 
{"\xEB\xFE", 0x0081BB}, {"\xEC\x40", 0x009721}, {"\xEC\x41", 0x009722}, {"\xEC\x42", 0x009723}, 
{"\xEC\x43", 0x009724}, {"\xEC\x44", 0x009725}, {"\xEC\x45", 0x009726}, {"\xEC\x46", 0x009727}, 
{"\xEC\x47", 0x009728}, {"\xEC\x48", 0x009729}, {"\xEC\x49", 0x00972B}, {"\xEC\x4A", 0x00972C}, 
{"\xEC\x4B", 0x00972E}, {"\xEC\x4C", 0x00972F}, {"\xEC\x4D", 0x009731}, {"\xEC\x4E", 0x009733}, 
{"\xEC\x4F", 0x009734}, {"\xEC\x50", 0x009735}, {"\xEC\x51", 0x009736}, {"\xEC\x52", 0x009737}, 
{"\xEC\x53", 0x00973A}, {"\xEC\x54", 0x00973B}, {"\xEC\x55", 0x00973C}, {"\xEC\x56", 0x00973D}, 

};
 for(size_t i=1; i<sizeof(db2bmp_4f_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_4f_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_50_gb18030_init()
{
static MB2UData db2bmp_50_gb18030 [] = { {"", 0}, 
{"\xEC\x57", 0x00973F}, {"\xEC\x58", 0x009740}, {"\xEC\x59", 0x009741}, {"\xEC\x5A", 0x009742}, 
{"\xEC\x5B", 0x009743}, {"\xEC\x5C", 0x009744}, {"\xEC\x5D", 0x009745}, {"\xEC\x5E", 0x009746}, 
{"\xEC\x5F", 0x009747}, {"\xEC\x60", 0x009748}, {"\xEC\x61", 0x009749}, {"\xEC\x62", 0x00974A}, 
{"\xEC\x63", 0x00974B}, {"\xEC\x64", 0x00974C}, {"\xEC\x65", 0x00974D}, {"\xEC\x66", 0x00974E}, 
{"\xEC\x67", 0x00974F}, {"\xEC\x68", 0x009750}, {"\xEC\x69", 0x009751}, {"\xEC\x6A", 0x009754}, 
{"\xEC\x6B", 0x009755}, {"\xEC\x6C", 0x009757}, {"\xEC\x6D", 0x009758}, {"\xEC\x6E", 0x00975A}, 
{"\xEC\x6F", 0x00975C}, {"\xEC\x70", 0x00975D}, {"\xEC\x71", 0x00975F}, {"\xEC\x72", 0x009763}, 
{"\xEC\x73", 0x009764}, {"\xEC\x74", 0x009766}, {"\xEC\x75", 0x009767}, {"\xEC\x76", 0x009768}, 
{"\xEC\x77", 0x00976A}, {"\xEC\x78", 0x00976B}, {"\xEC\x79", 0x00976C}, {"\xEC\x7A", 0x00976D}, 
{"\xEC\x7B", 0x00976E}, {"\xEC\x7C", 0x00976F}, {"\xEC\x7D", 0x009770}, {"\xEC\x7E", 0x009771}, 
{"\xEC\x80", 0x009772}, {"\xEC\x81", 0x009775}, {"\xEC\x82", 0x009777}, {"\xEC\x83", 0x009778}, 
{"\xEC\x84", 0x009779}, {"\xEC\x85", 0x00977A}, {"\xEC\x86", 0x00977B}, {"\xEC\x87", 0x00977D}, 
{"\xEC\x88", 0x00977E}, {"\xEC\x89", 0x00977F}, {"\xEC\x8A", 0x009780}, {"\xEC\x8B", 0x009781}, 
{"\xEC\x8C", 0x009782}, {"\xEC\x8D", 0x009783}, {"\xEC\x8E", 0x009784}, {"\xEC\x8F", 0x009786}, 
{"\xEC\x90", 0x009787}, {"\xEC\x91", 0x009788}, {"\xEC\x92", 0x009789}, {"\xEC\x93", 0x00978A}, 
{"\xEC\x94", 0x00978C}, {"\xEC\x95", 0x00978E}, {"\xEC\x96", 0x00978F}, {"\xEC\x97", 0x009790}, 
{"\xEC\x98", 0x009793}, {"\xEC\x99", 0x009795}, {"\xEC\x9A", 0x009796}, {"\xEC\x9B", 0x009797}, 
{"\xEC\x9C", 0x009799}, {"\xEC\x9D", 0x00979A}, {"\xEC\x9E", 0x00979B}, {"\xEC\x9F", 0x00979C}, 
{"\xEC\xA0", 0x00979D}, {"\xEC\xA1", 0x0081C1}, {"\xEC\xA2", 0x0081A6}, {"\xEC\xA3", 0x006B24}, 
{"\xEC\xA4", 0x006B37}, {"\xEC\xA5", 0x006B39}, {"\xEC\xA6", 0x006B43}, {"\xEC\xA7", 0x006B46}, 
{"\xEC\xA8", 0x006B59}, {"\xEC\xA9", 0x0098D1}, {"\xEC\xAA", 0x0098D2}, {"\xEC\xAB", 0x0098D3}, 
{"\xEC\xAC", 0x0098D5}, {"\xEC\xAD", 0x0098D9}, {"\xEC\xAE", 0x0098DA}, {"\xEC\xAF", 0x006BB3}, 
{"\xEC\xB0", 0x005F40}, {"\xEC\xB1", 0x006BC2}, {"\xEC\xB2", 0x0089F3}, {"\xEC\xB3", 0x006590}, 
{"\xEC\xB4", 0x009F51}, {"\xEC\xB5", 0x006593}, {"\xEC\xB6", 0x0065BC}, {"\xEC\xB7", 0x0065C6}, 
{"\xEC\xB8", 0x0065C4}, {"\xEC\xB9", 0x0065C3}, {"\xEC\xBA", 0x0065CC}, {"\xEC\xBB", 0x0065CE}, 
{"\xEC\xBC", 0x0065D2}, {"\xEC\xBD", 0x0065D6}, {"\xEC\xBE", 0x007080}, {"\xEC\xBF", 0x00709C}, 
{"\xEC\xC0", 0x007096}, {"\xEC\xC1", 0x00709D}, {"\xEC\xC2", 0x0070BB}, {"\xEC\xC3", 0x0070C0}, 
{"\xEC\xC4", 0x0070B7}, {"\xEC\xC5", 0x0070AB}, {"\xEC\xC6", 0x0070B1}, {"\xEC\xC7", 0x0070E8}, 
{"\xEC\xC8", 0x0070CA}, {"\xEC\xC9", 0x007110}, {"\xEC\xCA", 0x007113}, {"\xEC\xCB", 0x007116}, 
{"\xEC\xCC", 0x00712F}, {"\xEC\xCD", 0x007131}, {"\xEC\xCE", 0x007173}, {"\xEC\xCF", 0x00715C}, 
{"\xEC\xD0", 0x007168}, {"\xEC\xD1", 0x007145}, {"\xEC\xD2", 0x007172}, {"\xEC\xD3", 0x00714A}, 
{"\xEC\xD4", 0x007178}, {"\xEC\xD5", 0x00717A}, {"\xEC\xD6", 0x007198}, {"\xEC\xD7", 0x0071B3}, 
{"\xEC\xD8", 0x0071B5}, {"\xEC\xD9", 0x0071A8}, {"\xEC\xDA", 0x0071A0}, {"\xEC\xDB", 0x0071E0}, 
{"\xEC\xDC", 0x0071D4}, {"\xEC\xDD", 0x0071E7}, {"\xEC\xDE", 0x0071F9}, {"\xEC\xDF", 0x00721D}, 
{"\xEC\xE0", 0x007228}, {"\xEC\xE1", 0x00706C}, {"\xEC\xE2", 0x007118}, {"\xEC\xE3", 0x007166}, 
{"\xEC\xE4", 0x0071B9}, {"\xEC\xE5", 0x00623E}, {"\xEC\xE6", 0x00623D}, {"\xEC\xE7", 0x006243}, 
{"\xEC\xE8", 0x006248}, {"\xEC\xE9", 0x006249}, {"\xEC\xEA", 0x00793B}, {"\xEC\xEB", 0x007940}, 
{"\xEC\xEC", 0x007946}, {"\xEC\xED", 0x007949}, {"\xEC\xEE", 0x00795B}, {"\xEC\xEF", 0x00795C}, 
{"\xEC\xF0", 0x007953}, {"\xEC\xF1", 0x00795A}, {"\xEC\xF2", 0x007962}, {"\xEC\xF3", 0x007957}, 
{"\xEC\xF4", 0x007960}, {"\xEC\xF5", 0x00796F}, {"\xEC\xF6", 0x007967}, {"\xEC\xF7", 0x00797A}, 
{"\xEC\xF8", 0x007985}, {"\xEC\xF9", 0x00798A}, {"\xEC\xFA", 0x00799A}, {"\xEC\xFB", 0x0079A7}, 
{"\xEC\xFC", 0x0079B3}, {"\xEC\xFD", 0x005FD1}, {"\xEC\xFE", 0x005FD0}, {"\xED\x40", 0x00979E}, 
{"\xED\x41", 0x00979F}, {"\xED\x42", 0x0097A1}, {"\xED\x43", 0x0097A2}, {"\xED\x44", 0x0097A4}, 
{"\xED\x45", 0x0097A5}, {"\xED\x46", 0x0097A6}, {"\xED\x47", 0x0097A7}, {"\xED\x48", 0x0097A8}, 
{"\xED\x49", 0x0097A9}, {"\xED\x4A", 0x0097AA}, {"\xED\x4B", 0x0097AC}, {"\xED\x4C", 0x0097AE}, 
{"\xED\x4D", 0x0097B0}, {"\xED\x4E", 0x0097B1}, {"\xED\x4F", 0x0097B3}, {"\xED\x50", 0x0097B5}, 
{"\xED\x51", 0x0097B6}, {"\xED\x52", 0x0097B7}, {"\xED\x53", 0x0097B8}, {"\xED\x54", 0x0097B9}, 
{"\xED\x55", 0x0097BA}, {"\xED\x56", 0x0097BB}, {"\xED\x57", 0x0097BC}, {"\xED\x58", 0x0097BD}, 
{"\xED\x59", 0x0097BE}, {"\xED\x5A", 0x0097BF}, {"\xED\x5B", 0x0097C0}, {"\xED\x5C", 0x0097C1}, 
{"\xED\x5D", 0x0097C2}, {"\xED\x5E", 0x0097C3}, {"\xED\x5F", 0x0097C4}, {"\xED\x60", 0x0097C5}, 
{"\xED\x61", 0x0097C6}, {"\xED\x62", 0x0097C7}, {"\xED\x63", 0x0097C8}, {"\xED\x64", 0x0097C9}, 
{"\xED\x65", 0x0097CA}, {"\xED\x66", 0x0097CB}, {"\xED\x67", 0x0097CC}, {"\xED\x68", 0x0097CD}, 
{"\xED\x69", 0x0097CE}, {"\xED\x6A", 0x0097CF}, {"\xED\x6B", 0x0097D0}, {"\xED\x6C", 0x0097D1}, 
{"\xED\x6D", 0x0097D2}, {"\xED\x6E", 0x0097D3}, {"\xED\x6F", 0x0097D4}, {"\xED\x70", 0x0097D5}, 
{"\xED\x71", 0x0097D6}, {"\xED\x72", 0x0097D7}, {"\xED\x73", 0x0097D8}, {"\xED\x74", 0x0097D9}, 
{"\xED\x75", 0x0097DA}, {"\xED\x76", 0x0097DB}, {"\xED\x77", 0x0097DC}, {"\xED\x78", 0x0097DD}, 
{"\xED\x79", 0x0097DE}, {"\xED\x7A", 0x0097DF}, {"\xED\x7B", 0x0097E0}, {"\xED\x7C", 0x0097E1}, 
{"\xED\x7D", 0x0097E2}, {"\xED\x7E", 0x0097E3}, {"\xED\x80", 0x0097E4}, {"\xED\x81", 0x0097E5}, 
{"\xED\x82", 0x0097E8}, {"\xED\x83", 0x0097EE}, {"\xED\x84", 0x0097EF}, {"\xED\x85", 0x0097F0}, 
{"\xED\x86", 0x0097F1}, {"\xED\x87", 0x0097F2}, {"\xED\x88", 0x0097F4}, {"\xED\x89", 0x0097F7}, 
{"\xED\x8A", 0x0097F8}, {"\xED\x8B", 0x0097F9}, {"\xED\x8C", 0x0097FA}, {"\xED\x8D", 0x0097FB}, 
{"\xED\x8E", 0x0097FC}, {"\xED\x8F", 0x0097FD}, {"\xED\x90", 0x0097FE}, {"\xED\x91", 0x0097FF}, 
{"\xED\x92", 0x009800}, {"\xED\x93", 0x009801}, {"\xED\x94", 0x009802}, {"\xED\x95", 0x009803}, 
{"\xED\x96", 0x009804}, {"\xED\x97", 0x009805}, {"\xED\x98", 0x009806}, {"\xED\x99", 0x009807}, 

};
 for(size_t i=1; i<sizeof(db2bmp_50_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_50_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_51_gb18030_init()
{
static MB2UData db2bmp_51_gb18030 [] = { {"", 0}, 
{"\xED\x9A", 0x009808}, {"\xED\x9B", 0x009809}, {"\xED\x9C", 0x00980A}, {"\xED\x9D", 0x00980B}, 
{"\xED\x9E", 0x00980C}, {"\xED\x9F", 0x00980D}, {"\xED\xA0", 0x00980E}, {"\xED\xA1", 0x00603C}, 
{"\xED\xA2", 0x00605D}, {"\xED\xA3", 0x00605A}, {"\xED\xA4", 0x006067}, {"\xED\xA5", 0x006041}, 
{"\xED\xA6", 0x006059}, {"\xED\xA7", 0x006063}, {"\xED\xA8", 0x0060AB}, {"\xED\xA9", 0x006106}, 
{"\xED\xAA", 0x00610D}, {"\xED\xAB", 0x00615D}, {"\xED\xAC", 0x0061A9}, {"\xED\xAD", 0x00619D}, 
{"\xED\xAE", 0x0061CB}, {"\xED\xAF", 0x0061D1}, {"\xED\xB0", 0x006206}, {"\xED\xB1", 0x008080}, 
{"\xED\xB2", 0x00807F}, {"\xED\xB3", 0x006C93}, {"\xED\xB4", 0x006CF6}, {"\xED\xB5", 0x006DFC}, 
{"\xED\xB6", 0x0077F6}, {"\xED\xB7", 0x0077F8}, {"\xED\xB8", 0x007800}, {"\xED\xB9", 0x007809}, 
{"\xED\xBA", 0x007817}, {"\xED\xBB", 0x007818}, {"\xED\xBC", 0x007811}, {"\xED\xBD", 0x0065AB}, 
{"\xED\xBE", 0x00782D}, {"\xED\xBF", 0x00781C}, {"\xED\xC0", 0x00781D}, {"\xED\xC1", 0x007839}, 
{"\xED\xC2", 0x00783A}, {"\xED\xC3", 0x00783B}, {"\xED\xC4", 0x00781F}, {"\xED\xC5", 0x00783C}, 
{"\xED\xC6", 0x007825}, {"\xED\xC7", 0x00782C}, {"\xED\xC8", 0x007823}, {"\xED\xC9", 0x007829}, 
{"\xED\xCA", 0x00784E}, {"\xED\xCB", 0x00786D}, {"\xED\xCC", 0x007856}, {"\xED\xCD", 0x007857}, 
{"\xED\xCE", 0x007826}, {"\xED\xCF", 0x007850}, {"\xED\xD0", 0x007847}, {"\xED\xD1", 0x00784C}, 
{"\xED\xD2", 0x00786A}, {"\xED\xD3", 0x00789B}, {"\xED\xD4", 0x007893}, {"\xED\xD5", 0x00789A}, 
{"\xED\xD6", 0x007887}, {"\xED\xD7", 0x00789C}, {"\xED\xD8", 0x0078A1}, {"\xED\xD9", 0x0078A3}, 
{"\xED\xDA", 0x0078B2}, {"\xED\xDB", 0x0078B9}, {"\xED\xDC", 0x0078A5}, {"\xED\xDD", 0x0078D4}, 
{"\xED\xDE", 0x0078D9}, {"\xED\xDF", 0x0078C9}, {"\xED\xE0", 0x0078EC}, {"\xED\xE1", 0x0078F2}, 
{"\xED\xE2", 0x007905}, {"\xED\xE3", 0x0078F4}, {"\xED\xE4", 0x007913}, {"\xED\xE5", 0x007924}, 
{"\xED\xE6", 0x00791E}, {"\xED\xE7", 0x007934}, {"\xED\xE8", 0x009F9B}, {"\xED\xE9", 0x009EF9}, 
{"\xED\xEA", 0x009EFB}, {"\xED\xEB", 0x009EFC}, {"\xED\xEC", 0x0076F1}, {"\xED\xED", 0x007704}, 
{"\xED\xEE", 0x00770D}, {"\xED\xEF", 0x0076F9}, {"\xED\xF0", 0x007707}, {"\xED\xF1", 0x007708}, 
{"\xED\xF2", 0x00771A}, {"\xED\xF3", 0x007722}, {"\xED\xF4", 0x007719}, {"\xED\xF5", 0x00772D}, 
{"\xED\xF6", 0x007726}, {"\xED\xF7", 0x007735}, {"\xED\xF8", 0x007738}, {"\xED\xF9", 0x007750}, 
{"\xED\xFA", 0x007751}, {"\xED\xFB", 0x007747}, {"\xED\xFC", 0x007743}, {"\xED\xFD", 0x00775A}, 
{"\xED\xFE", 0x007768}, {"\xEE\x40", 0x00980F}, {"\xEE\x41", 0x009810}, {"\xEE\x42", 0x009811}, 
{"\xEE\x43", 0x009812}, {"\xEE\x44", 0x009813}, {"\xEE\x45", 0x009814}, {"\xEE\x46", 0x009815}, 
{"\xEE\x47", 0x009816}, {"\xEE\x48", 0x009817}, {"\xEE\x49", 0x009818}, {"\xEE\x4A", 0x009819}, 
{"\xEE\x4B", 0x00981A}, {"\xEE\x4C", 0x00981B}, {"\xEE\x4D", 0x00981C}, {"\xEE\x4E", 0x00981D}, 
{"\xEE\x4F", 0x00981E}, {"\xEE\x50", 0x00981F}, {"\xEE\x51", 0x009820}, {"\xEE\x52", 0x009821}, 
{"\xEE\x53", 0x009822}, {"\xEE\x54", 0x009823}, {"\xEE\x55", 0x009824}, {"\xEE\x56", 0x009825}, 
{"\xEE\x57", 0x009826}, {"\xEE\x58", 0x009827}, {"\xEE\x59", 0x009828}, {"\xEE\x5A", 0x009829}, 
{"\xEE\x5B", 0x00982A}, {"\xEE\x5C", 0x00982B}, {"\xEE\x5D", 0x00982C}, {"\xEE\x5E", 0x00982D}, 
{"\xEE\x5F", 0x00982E}, {"\xEE\x60", 0x00982F}, {"\xEE\x61", 0x009830}, {"\xEE\x62", 0x009831}, 
{"\xEE\x63", 0x009832}, {"\xEE\x64", 0x009833}, {"\xEE\x65", 0x009834}, {"\xEE\x66", 0x009835}, 
{"\xEE\x67", 0x009836}, {"\xEE\x68", 0x009837}, {"\xEE\x69", 0x009838}, {"\xEE\x6A", 0x009839}, 
{"\xEE\x6B", 0x00983A}, {"\xEE\x6C", 0x00983B}, {"\xEE\x6D", 0x00983C}, {"\xEE\x6E", 0x00983D}, 
{"\xEE\x6F", 0x00983E}, {"\xEE\x70", 0x00983F}, {"\xEE\x71", 0x009840}, {"\xEE\x72", 0x009841}, 
{"\xEE\x73", 0x009842}, {"\xEE\x74", 0x009843}, {"\xEE\x75", 0x009844}, {"\xEE\x76", 0x009845}, 
{"\xEE\x77", 0x009846}, {"\xEE\x78", 0x009847}, {"\xEE\x79", 0x009848}, {"\xEE\x7A", 0x009849}, 
{"\xEE\x7B", 0x00984A}, {"\xEE\x7C", 0x00984B}, {"\xEE\x7D", 0x00984C}, {"\xEE\x7E", 0x00984D}, 
{"\xEE\x80", 0x00984E}, {"\xEE\x81", 0x00984F}, {"\xEE\x82", 0x009850}, {"\xEE\x83", 0x009851}, 
{"\xEE\x84", 0x009852}, {"\xEE\x85", 0x009853}, {"\xEE\x86", 0x009854}, {"\xEE\x87", 0x009855}, 
{"\xEE\x88", 0x009856}, {"\xEE\x89", 0x009857}, {"\xEE\x8A", 0x009858}, {"\xEE\x8B", 0x009859}, 
{"\xEE\x8C", 0x00985A}, {"\xEE\x8D", 0x00985B}, {"\xEE\x8E", 0x00985C}, {"\xEE\x8F", 0x00985D}, 
{"\xEE\x90", 0x00985E}, {"\xEE\x91", 0x00985F}, {"\xEE\x92", 0x009860}, {"\xEE\x93", 0x009861}, 
{"\xEE\x94", 0x009862}, {"\xEE\x95", 0x009863}, {"\xEE\x96", 0x009864}, {"\xEE\x97", 0x009865}, 
{"\xEE\x98", 0x009866}, {"\xEE\x99", 0x009867}, {"\xEE\x9A", 0x009868}, {"\xEE\x9B", 0x009869}, 
{"\xEE\x9C", 0x00986A}, {"\xEE\x9D", 0x00986B}, {"\xEE\x9E", 0x00986C}, {"\xEE\x9F", 0x00986D}, 
{"\xEE\xA0", 0x00986E}, {"\xEE\xA1", 0x007762}, {"\xEE\xA2", 0x007765}, {"\xEE\xA3", 0x00777F}, 
{"\xEE\xA4", 0x00778D}, {"\xEE\xA5", 0x00777D}, {"\xEE\xA6", 0x007780}, {"\xEE\xA7", 0x00778C}, 
{"\xEE\xA8", 0x007791}, {"\xEE\xA9", 0x00779F}, {"\xEE\xAA", 0x0077A0}, {"\xEE\xAB", 0x0077B0}, 
{"\xEE\xAC", 0x0077B5}, {"\xEE\xAD", 0x0077BD}, {"\xEE\xAE", 0x00753A}, {"\xEE\xAF", 0x007540}, 
{"\xEE\xB0", 0x00754E}, {"\xEE\xB1", 0x00754B}, {"\xEE\xB2", 0x007548}, {"\xEE\xB3", 0x00755B}, 
{"\xEE\xB4", 0x007572}, {"\xEE\xB5", 0x007579}, {"\xEE\xB6", 0x007583}, {"\xEE\xB7", 0x007F58}, 
{"\xEE\xB8", 0x007F61}, {"\xEE\xB9", 0x007F5F}, {"\xEE\xBA", 0x008A48}, {"\xEE\xBB", 0x007F68}, 
{"\xEE\xBC", 0x007F74}, {"\xEE\xBD", 0x007F71}, {"\xEE\xBE", 0x007F79}, {"\xEE\xBF", 0x007F81}, 
{"\xEE\xC0", 0x007F7E}, {"\xEE\xC1", 0x0076CD}, {"\xEE\xC2", 0x0076E5}, {"\xEE\xC3", 0x008832}, 
{"\xEE\xC4", 0x009485}, {"\xEE\xC5", 0x009486}, {"\xEE\xC6", 0x009487}, {"\xEE\xC7", 0x00948B}, 
{"\xEE\xC8", 0x00948A}, {"\xEE\xC9", 0x00948C}, {"\xEE\xCA", 0x00948D}, {"\xEE\xCB", 0x00948F}, 
{"\xEE\xCC", 0x009490}, {"\xEE\xCD", 0x009494}, {"\xEE\xCE", 0x009497}, {"\xEE\xCF", 0x009495}, 
{"\xEE\xD0", 0x00949A}, {"\xEE\xD1", 0x00949B}, {"\xEE\xD2", 0x00949C}, {"\xEE\xD3", 0x0094A3}, 
{"\xEE\xD4", 0x0094A4}, {"\xEE\xD5", 0x0094AB}, {"\xEE\xD6", 0x0094AA}, {"\xEE\xD7", 0x0094AD}, 
{"\xEE\xD8", 0x0094AC}, {"\xEE\xD9", 0x0094AF}, {"\xEE\xDA", 0x0094B0}, {"\xEE\xDB", 0x0094B2}, 

};
 for(size_t i=1; i<sizeof(db2bmp_51_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_51_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_52_gb18030_init()
{
static MB2UData db2bmp_52_gb18030 [] = { {"", 0}, 
{"\xEE\xDC", 0x0094B4}, {"\xEE\xDD", 0x0094B6}, {"\xEE\xDE", 0x0094B7}, {"\xEE\xDF", 0x0094B8}, 
{"\xEE\xE0", 0x0094B9}, {"\xEE\xE1", 0x0094BA}, {"\xEE\xE2", 0x0094BC}, {"\xEE\xE3", 0x0094BD}, 
{"\xEE\xE4", 0x0094BF}, {"\xEE\xE5", 0x0094C4}, {"\xEE\xE6", 0x0094C8}, {"\xEE\xE7", 0x0094C9}, 
{"\xEE\xE8", 0x0094CA}, {"\xEE\xE9", 0x0094CB}, {"\xEE\xEA", 0x0094CC}, {"\xEE\xEB", 0x0094CD}, 
{"\xEE\xEC", 0x0094CE}, {"\xEE\xED", 0x0094D0}, {"\xEE\xEE", 0x0094D1}, {"\xEE\xEF", 0x0094D2}, 
{"\xEE\xF0", 0x0094D5}, {"\xEE\xF1", 0x0094D6}, {"\xEE\xF2", 0x0094D7}, {"\xEE\xF3", 0x0094D9}, 
{"\xEE\xF4", 0x0094D8}, {"\xEE\xF5", 0x0094DB}, {"\xEE\xF6", 0x0094DE}, {"\xEE\xF7", 0x0094DF}, 
{"\xEE\xF8", 0x0094E0}, {"\xEE\xF9", 0x0094E2}, {"\xEE\xFA", 0x0094E4}, {"\xEE\xFB", 0x0094E5}, 
{"\xEE\xFC", 0x0094E7}, {"\xEE\xFD", 0x0094E8}, {"\xEE\xFE", 0x0094EA}, {"\xEF\x40", 0x00986F}, 
{"\xEF\x41", 0x009870}, {"\xEF\x42", 0x009871}, {"\xEF\x43", 0x009872}, {"\xEF\x44", 0x009873}, 
{"\xEF\x45", 0x009874}, {"\xEF\x46", 0x00988B}, {"\xEF\x47", 0x00988E}, {"\xEF\x48", 0x009892}, 
{"\xEF\x49", 0x009895}, {"\xEF\x4A", 0x009899}, {"\xEF\x4B", 0x0098A3}, {"\xEF\x4C", 0x0098A8}, 
{"\xEF\x4D", 0x0098A9}, {"\xEF\x4E", 0x0098AA}, {"\xEF\x4F", 0x0098AB}, {"\xEF\x50", 0x0098AC}, 
{"\xEF\x51", 0x0098AD}, {"\xEF\x52", 0x0098AE}, {"\xEF\x53", 0x0098AF}, {"\xEF\x54", 0x0098B0}, 
{"\xEF\x55", 0x0098B1}, {"\xEF\x56", 0x0098B2}, {"\xEF\x57", 0x0098B3}, {"\xEF\x58", 0x0098B4}, 
{"\xEF\x59", 0x0098B5}, {"\xEF\x5A", 0x0098B6}, {"\xEF\x5B", 0x0098B7}, {"\xEF\x5C", 0x0098B8}, 
{"\xEF\x5D", 0x0098B9}, {"\xEF\x5E", 0x0098BA}, {"\xEF\x5F", 0x0098BB}, {"\xEF\x60", 0x0098BC}, 
{"\xEF\x61", 0x0098BD}, {"\xEF\x62", 0x0098BE}, {"\xEF\x63", 0x0098BF}, {"\xEF\x64", 0x0098C0}, 
{"\xEF\x65", 0x0098C1}, {"\xEF\x66", 0x0098C2}, {"\xEF\x67", 0x0098C3}, {"\xEF\x68", 0x0098C4}, 
{"\xEF\x69", 0x0098C5}, {"\xEF\x6A", 0x0098C6}, {"\xEF\x6B", 0x0098C7}, {"\xEF\x6C", 0x0098C8}, 
{"\xEF\x6D", 0x0098C9}, {"\xEF\x6E", 0x0098CA}, {"\xEF\x6F", 0x0098CB}, {"\xEF\x70", 0x0098CC}, 
{"\xEF\x71", 0x0098CD}, {"\xEF\x72", 0x0098CF}, {"\xEF\x73", 0x0098D0}, {"\xEF\x74", 0x0098D4}, 
{"\xEF\x75", 0x0098D6}, {"\xEF\x76", 0x0098D7}, {"\xEF\x77", 0x0098DB}, {"\xEF\x78", 0x0098DC}, 
{"\xEF\x79", 0x0098DD}, {"\xEF\x7A", 0x0098E0}, {"\xEF\x7B", 0x0098E1}, {"\xEF\x7C", 0x0098E2}, 
{"\xEF\x7D", 0x0098E3}, {"\xEF\x7E", 0x0098E4}, {"\xEF\x80", 0x0098E5}, {"\xEF\x81", 0x0098E6}, 
{"\xEF\x82", 0x0098E9}, {"\xEF\x83", 0x0098EA}, {"\xEF\x84", 0x0098EB}, {"\xEF\x85", 0x0098EC}, 
{"\xEF\x86", 0x0098ED}, {"\xEF\x87", 0x0098EE}, {"\xEF\x88", 0x0098EF}, {"\xEF\x89", 0x0098F0}, 
{"\xEF\x8A", 0x0098F1}, {"\xEF\x8B", 0x0098F2}, {"\xEF\x8C", 0x0098F3}, {"\xEF\x8D", 0x0098F4}, 
{"\xEF\x8E", 0x0098F5}, {"\xEF\x8F", 0x0098F6}, {"\xEF\x90", 0x0098F7}, {"\xEF\x91", 0x0098F8}, 
{"\xEF\x92", 0x0098F9}, {"\xEF\x93", 0x0098FA}, {"\xEF\x94", 0x0098FB}, {"\xEF\x95", 0x0098FC}, 
{"\xEF\x96", 0x0098FD}, {"\xEF\x97", 0x0098FE}, {"\xEF\x98", 0x0098FF}, {"\xEF\x99", 0x009900}, 
{"\xEF\x9A", 0x009901}, {"\xEF\x9B", 0x009902}, {"\xEF\x9C", 0x009903}, {"\xEF\x9D", 0x009904}, 
{"\xEF\x9E", 0x009905}, {"\xEF\x9F", 0x009906}, {"\xEF\xA0", 0x009907}, {"\xEF\xA1", 0x0094E9}, 
{"\xEF\xA2", 0x0094EB}, {"\xEF\xA3", 0x0094EE}, {"\xEF\xA4", 0x0094EF}, {"\xEF\xA5", 0x0094F3}, 
{"\xEF\xA6", 0x0094F4}, {"\xEF\xA7", 0x0094F5}, {"\xEF\xA8", 0x0094F7}, {"\xEF\xA9", 0x0094F9}, 
{"\xEF\xAA", 0x0094FC}, {"\xEF\xAB", 0x0094FD}, {"\xEF\xAC", 0x0094FF}, {"\xEF\xAD", 0x009503}, 
{"\xEF\xAE", 0x009502}, {"\xEF\xAF", 0x009506}, {"\xEF\xB0", 0x009507}, {"\xEF\xB1", 0x009509}, 
{"\xEF\xB2", 0x00950A}, {"\xEF\xB3", 0x00950D}, {"\xEF\xB4", 0x00950E}, {"\xEF\xB5", 0x00950F}, 
{"\xEF\xB6", 0x009512}, {"\xEF\xB7", 0x009513}, {"\xEF\xB8", 0x009514}, {"\xEF\xB9", 0x009515}, 
{"\xEF\xBA", 0x009516}, {"\xEF\xBB", 0x009518}, {"\xEF\xBC", 0x00951B}, {"\xEF\xBD", 0x00951D}, 
{"\xEF\xBE", 0x00951E}, {"\xEF\xBF", 0x00951F}, {"\xEF\xC0", 0x009522}, {"\xEF\xC1", 0x00952A}, 
{"\xEF\xC2", 0x00952B}, {"\xEF\xC3", 0x009529}, {"\xEF\xC4", 0x00952C}, {"\xEF\xC5", 0x009531}, 
{"\xEF\xC6", 0x009532}, {"\xEF\xC7", 0x009534}, {"\xEF\xC8", 0x009536}, {"\xEF\xC9", 0x009537}, 
{"\xEF\xCA", 0x009538}, {"\xEF\xCB", 0x00953C}, {"\xEF\xCC", 0x00953E}, {"\xEF\xCD", 0x00953F}, 
{"\xEF\xCE", 0x009542}, {"\xEF\xCF", 0x009535}, {"\xEF\xD0", 0x009544}, {"\xEF\xD1", 0x009545}, 
{"\xEF\xD2", 0x009546}, {"\xEF\xD3", 0x009549}, {"\xEF\xD4", 0x00954C}, {"\xEF\xD5", 0x00954E}, 
{"\xEF\xD6", 0x00954F}, {"\xEF\xD7", 0x009552}, {"\xEF\xD8", 0x009553}, {"\xEF\xD9", 0x009554}, 
{"\xEF\xDA", 0x009556}, {"\xEF\xDB", 0x009557}, {"\xEF\xDC", 0x009558}, {"\xEF\xDD", 0x009559}, 
{"\xEF\xDE", 0x00955B}, {"\xEF\xDF", 0x00955E}, {"\xEF\xE0", 0x00955F}, {"\xEF\xE1", 0x00955D}, 
{"\xEF\xE2", 0x009561}, {"\xEF\xE3", 0x009562}, {"\xEF\xE4", 0x009564}, {"\xEF\xE5", 0x009565}, 
{"\xEF\xE6", 0x009566}, {"\xEF\xE7", 0x009567}, {"\xEF\xE8", 0x009568}, {"\xEF\xE9", 0x009569}, 
{"\xEF\xEA", 0x00956A}, {"\xEF\xEB", 0x00956B}, {"\xEF\xEC", 0x00956C}, {"\xEF\xED", 0x00956F}, 
{"\xEF\xEE", 0x009571}, {"\xEF\xEF", 0x009572}, {"\xEF\xF0", 0x009573}, {"\xEF\xF1", 0x00953A}, 
{"\xEF\xF2", 0x0077E7}, {"\xEF\xF3", 0x0077EC}, {"\xEF\xF4", 0x0096C9}, {"\xEF\xF5", 0x0079D5}, 
{"\xEF\xF6", 0x0079ED}, {"\xEF\xF7", 0x0079E3}, {"\xEF\xF8", 0x0079EB}, {"\xEF\xF9", 0x007A06}, 
{"\xEF\xFA", 0x005D47}, {"\xEF\xFB", 0x007A03}, {"\xEF\xFC", 0x007A02}, {"\xEF\xFD", 0x007A1E}, 
{"\xEF\xFE", 0x007A14}, {"\xF0\x40", 0x009908}, {"\xF0\x41", 0x009909}, {"\xF0\x42", 0x00990A}, 
{"\xF0\x43", 0x00990B}, {"\xF0\x44", 0x00990C}, {"\xF0\x45", 0x00990E}, {"\xF0\x46", 0x00990F}, 
{"\xF0\x47", 0x009911}, {"\xF0\x48", 0x009912}, {"\xF0\x49", 0x009913}, {"\xF0\x4A", 0x009914}, 
{"\xF0\x4B", 0x009915}, {"\xF0\x4C", 0x009916}, {"\xF0\x4D", 0x009917}, {"\xF0\x4E", 0x009918}, 
{"\xF0\x4F", 0x009919}, {"\xF0\x50", 0x00991A}, {"\xF0\x51", 0x00991B}, {"\xF0\x52", 0x00991C}, 
{"\xF0\x53", 0x00991D}, {"\xF0\x54", 0x00991E}, {"\xF0\x55", 0x00991F}, {"\xF0\x56", 0x009920}, 
{"\xF0\x57", 0x009921}, {"\xF0\x58", 0x009922}, {"\xF0\x59", 0x009923}, {"\xF0\x5A", 0x009924}, 
{"\xF0\x5B", 0x009925}, {"\xF0\x5C", 0x009926}, {"\xF0\x5D", 0x009927}, {"\xF0\x5E", 0x009928}, 

};
 for(size_t i=1; i<sizeof(db2bmp_52_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_52_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_53_gb18030_init()
{
static MB2UData db2bmp_53_gb18030 [] = { {"", 0}, 
{"\xF0\x5F", 0x009929}, {"\xF0\x60", 0x00992A}, {"\xF0\x61", 0x00992B}, {"\xF0\x62", 0x00992C}, 
{"\xF0\x63", 0x00992D}, {"\xF0\x64", 0x00992F}, {"\xF0\x65", 0x009930}, {"\xF0\x66", 0x009931}, 
{"\xF0\x67", 0x009932}, {"\xF0\x68", 0x009933}, {"\xF0\x69", 0x009934}, {"\xF0\x6A", 0x009935}, 
{"\xF0\x6B", 0x009936}, {"\xF0\x6C", 0x009937}, {"\xF0\x6D", 0x009938}, {"\xF0\x6E", 0x009939}, 
{"\xF0\x6F", 0x00993A}, {"\xF0\x70", 0x00993B}, {"\xF0\x71", 0x00993C}, {"\xF0\x72", 0x00993D}, 
{"\xF0\x73", 0x00993E}, {"\xF0\x74", 0x00993F}, {"\xF0\x75", 0x009940}, {"\xF0\x76", 0x009941}, 
{"\xF0\x77", 0x009942}, {"\xF0\x78", 0x009943}, {"\xF0\x79", 0x009944}, {"\xF0\x7A", 0x009945}, 
{"\xF0\x7B", 0x009946}, {"\xF0\x7C", 0x009947}, {"\xF0\x7D", 0x009948}, {"\xF0\x7E", 0x009949}, 
{"\xF0\x80", 0x00994A}, {"\xF0\x81", 0x00994B}, {"\xF0\x82", 0x00994C}, {"\xF0\x83", 0x00994D}, 
{"\xF0\x84", 0x00994E}, {"\xF0\x85", 0x00994F}, {"\xF0\x86", 0x009950}, {"\xF0\x87", 0x009951}, 
{"\xF0\x88", 0x009952}, {"\xF0\x89", 0x009953}, {"\xF0\x8A", 0x009956}, {"\xF0\x8B", 0x009957}, 
{"\xF0\x8C", 0x009958}, {"\xF0\x8D", 0x009959}, {"\xF0\x8E", 0x00995A}, {"\xF0\x8F", 0x00995B}, 
{"\xF0\x90", 0x00995C}, {"\xF0\x91", 0x00995D}, {"\xF0\x92", 0x00995E}, {"\xF0\x93", 0x00995F}, 
{"\xF0\x94", 0x009960}, {"\xF0\x95", 0x009961}, {"\xF0\x96", 0x009962}, {"\xF0\x97", 0x009964}, 
{"\xF0\x98", 0x009966}, {"\xF0\x99", 0x009973}, {"\xF0\x9A", 0x009978}, {"\xF0\x9B", 0x009979}, 
{"\xF0\x9C", 0x00997B}, {"\xF0\x9D", 0x00997E}, {"\xF0\x9E", 0x009982}, {"\xF0\x9F", 0x009983}, 
{"\xF0\xA0", 0x009989}, {"\xF0\xA1", 0x007A39}, {"\xF0\xA2", 0x007A37}, {"\xF0\xA3", 0x007A51}, 
{"\xF0\xA4", 0x009ECF}, {"\xF0\xA5", 0x0099A5}, {"\xF0\xA6", 0x007A70}, {"\xF0\xA7", 0x007688}, 
{"\xF0\xA8", 0x00768E}, {"\xF0\xA9", 0x007693}, {"\xF0\xAA", 0x007699}, {"\xF0\xAB", 0x0076A4}, 
{"\xF0\xAC", 0x0074DE}, {"\xF0\xAD", 0x0074E0}, {"\xF0\xAE", 0x00752C}, {"\xF0\xAF", 0x009E20}, 
{"\xF0\xB0", 0x009E22}, {"\xF0\xB1", 0x009E28}, {"\xF0\xB2", 0x009E29}, {"\xF0\xB3", 0x009E2A}, 
{"\xF0\xB4", 0x009E2B}, {"\xF0\xB5", 0x009E2C}, {"\xF0\xB6", 0x009E32}, {"\xF0\xB7", 0x009E31}, 
{"\xF0\xB8", 0x009E36}, {"\xF0\xB9", 0x009E38}, {"\xF0\xBA", 0x009E37}, {"\xF0\xBB", 0x009E39}, 
{"\xF0\xBC", 0x009E3A}, {"\xF0\xBD", 0x009E3E}, {"\xF0\xBE", 0x009E41}, {"\xF0\xBF", 0x009E42}, 
{"\xF0\xC0", 0x009E44}, {"\xF0\xC1", 0x009E46}, {"\xF0\xC2", 0x009E47}, {"\xF0\xC3", 0x009E48}, 
{"\xF0\xC4", 0x009E49}, {"\xF0\xC5", 0x009E4B}, {"\xF0\xC6", 0x009E4C}, {"\xF0\xC7", 0x009E4E}, 
{"\xF0\xC8", 0x009E51}, {"\xF0\xC9", 0x009E55}, {"\xF0\xCA", 0x009E57}, {"\xF0\xCB", 0x009E5A}, 
{"\xF0\xCC", 0x009E5B}, {"\xF0\xCD", 0x009E5C}, {"\xF0\xCE", 0x009E5E}, {"\xF0\xCF", 0x009E63}, 
{"\xF0\xD0", 0x009E66}, {"\xF0\xD1", 0x009E67}, {"\xF0\xD2", 0x009E68}, {"\xF0\xD3", 0x009E69}, 
{"\xF0\xD4", 0x009E6A}, {"\xF0\xD5", 0x009E6B}, {"\xF0\xD6", 0x009E6C}, {"\xF0\xD7", 0x009E71}, 
{"\xF0\xD8", 0x009E6D}, {"\xF0\xD9", 0x009E73}, {"\xF0\xDA", 0x007592}, {"\xF0\xDB", 0x007594}, 
{"\xF0\xDC", 0x007596}, {"\xF0\xDD", 0x0075A0}, {"\xF0\xDE", 0x00759D}, {"\xF0\xDF", 0x0075AC}, 
{"\xF0\xE0", 0x0075A3}, {"\xF0\xE1", 0x0075B3}, {"\xF0\xE2", 0x0075B4}, {"\xF0\xE3", 0x0075B8}, 
{"\xF0\xE4", 0x0075C4}, {"\xF0\xE5", 0x0075B1}, {"\xF0\xE6", 0x0075B0}, {"\xF0\xE7", 0x0075C3}, 
{"\xF0\xE8", 0x0075C2}, {"\xF0\xE9", 0x0075D6}, {"\xF0\xEA", 0x0075CD}, {"\xF0\xEB", 0x0075E3}, 
{"\xF0\xEC", 0x0075E8}, {"\xF0\xED", 0x0075E6}, {"\xF0\xEE", 0x0075E4}, {"\xF0\xEF", 0x0075EB}, 
{"\xF0\xF0", 0x0075E7}, {"\xF0\xF1", 0x007603}, {"\xF0\xF2", 0x0075F1}, {"\xF0\xF3", 0x0075FC}, 
{"\xF0\xF4", 0x0075FF}, {"\xF0\xF5", 0x007610}, {"\xF0\xF6", 0x007600}, {"\xF0\xF7", 0x007605}, 
{"\xF0\xF8", 0x00760C}, {"\xF0\xF9", 0x007617}, {"\xF0\xFA", 0x00760A}, {"\xF0\xFB", 0x007625}, 
{"\xF0\xFC", 0x007618}, {"\xF0\xFD", 0x007615}, {"\xF0\xFE", 0x007619}, {"\xF1\x40", 0x00998C}, 
{"\xF1\x41", 0x00998E}, {"\xF1\x42", 0x00999A}, {"\xF1\x43", 0x00999B}, {"\xF1\x44", 0x00999C}, 
{"\xF1\x45", 0x00999D}, {"\xF1\x46", 0x00999E}, {"\xF1\x47", 0x00999F}, {"\xF1\x48", 0x0099A0}, 
{"\xF1\x49", 0x0099A1}, {"\xF1\x4A", 0x0099A2}, {"\xF1\x4B", 0x0099A3}, {"\xF1\x4C", 0x0099A4}, 
{"\xF1\x4D", 0x0099A6}, {"\xF1\x4E", 0x0099A7}, {"\xF1\x4F", 0x0099A9}, {"\xF1\x50", 0x0099AA}, 
{"\xF1\x51", 0x0099AB}, {"\xF1\x52", 0x0099AC}, {"\xF1\x53", 0x0099AD}, {"\xF1\x54", 0x0099AE}, 
{"\xF1\x55", 0x0099AF}, {"\xF1\x56", 0x0099B0}, {"\xF1\x57", 0x0099B1}, {"\xF1\x58", 0x0099B2}, 
{"\xF1\x59", 0x0099B3}, {"\xF1\x5A", 0x0099B4}, {"\xF1\x5B", 0x0099B5}, {"\xF1\x5C", 0x0099B6}, 
{"\xF1\x5D", 0x0099B7}, {"\xF1\x5E", 0x0099B8}, {"\xF1\x5F", 0x0099B9}, {"\xF1\x60", 0x0099BA}, 
{"\xF1\x61", 0x0099BB}, {"\xF1\x62", 0x0099BC}, {"\xF1\x63", 0x0099BD}, {"\xF1\x64", 0x0099BE}, 
{"\xF1\x65", 0x0099BF}, {"\xF1\x66", 0x0099C0}, {"\xF1\x67", 0x0099C1}, {"\xF1\x68", 0x0099C2}, 
{"\xF1\x69", 0x0099C3}, {"\xF1\x6A", 0x0099C4}, {"\xF1\x6B", 0x0099C5}, {"\xF1\x6C", 0x0099C6}, 
{"\xF1\x6D", 0x0099C7}, {"\xF1\x6E", 0x0099C8}, {"\xF1\x6F", 0x0099C9}, {"\xF1\x70", 0x0099CA}, 
{"\xF1\x71", 0x0099CB}, {"\xF1\x72", 0x0099CC}, {"\xF1\x73", 0x0099CD}, {"\xF1\x74", 0x0099CE}, 
{"\xF1\x75", 0x0099CF}, {"\xF1\x76", 0x0099D0}, {"\xF1\x77", 0x0099D1}, {"\xF1\x78", 0x0099D2}, 
{"\xF1\x79", 0x0099D3}, {"\xF1\x7A", 0x0099D4}, {"\xF1\x7B", 0x0099D5}, {"\xF1\x7C", 0x0099D6}, 
{"\xF1\x7D", 0x0099D7}, {"\xF1\x7E", 0x0099D8}, {"\xF1\x80", 0x0099D9}, {"\xF1\x81", 0x0099DA}, 
{"\xF1\x82", 0x0099DB}, {"\xF1\x83", 0x0099DC}, {"\xF1\x84", 0x0099DD}, {"\xF1\x85", 0x0099DE}, 
{"\xF1\x86", 0x0099DF}, {"\xF1\x87", 0x0099E0}, {"\xF1\x88", 0x0099E1}, {"\xF1\x89", 0x0099E2}, 
{"\xF1\x8A", 0x0099E3}, {"\xF1\x8B", 0x0099E4}, {"\xF1\x8C", 0x0099E5}, {"\xF1\x8D", 0x0099E6}, 
{"\xF1\x8E", 0x0099E7}, {"\xF1\x8F", 0x0099E8}, {"\xF1\x90", 0x0099E9}, {"\xF1\x91", 0x0099EA}, 
{"\xF1\x92", 0x0099EB}, {"\xF1\x93", 0x0099EC}, {"\xF1\x94", 0x0099ED}, {"\xF1\x95", 0x0099EE}, 
{"\xF1\x96", 0x0099EF}, {"\xF1\x97", 0x0099F0}, {"\xF1\x98", 0x0099F1}, {"\xF1\x99", 0x0099F2}, 
{"\xF1\x9A", 0x0099F3}, {"\xF1\x9B", 0x0099F4}, {"\xF1\x9C", 0x0099F5}, {"\xF1\x9D", 0x0099F6}, 
{"\xF1\x9E", 0x0099F7}, {"\xF1\x9F", 0x0099F8}, {"\xF1\xA0", 0x0099F9}, {"\xF1\xA1", 0x00761B}, 

};
 for(size_t i=1; i<sizeof(db2bmp_53_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_53_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_54_gb18030_init()
{
static MB2UData db2bmp_54_gb18030 [] = { {"", 0}, 
{"\xF1\xA2", 0x00763C}, {"\xF1\xA3", 0x007622}, {"\xF1\xA4", 0x007620}, {"\xF1\xA5", 0x007640}, 
{"\xF1\xA6", 0x00762D}, {"\xF1\xA7", 0x007630}, {"\xF1\xA8", 0x00763F}, {"\xF1\xA9", 0x007635}, 
{"\xF1\xAA", 0x007643}, {"\xF1\xAB", 0x00763E}, {"\xF1\xAC", 0x007633}, {"\xF1\xAD", 0x00764D}, 
{"\xF1\xAE", 0x00765E}, {"\xF1\xAF", 0x007654}, {"\xF1\xB0", 0x00765C}, {"\xF1\xB1", 0x007656}, 
{"\xF1\xB2", 0x00766B}, {"\xF1\xB3", 0x00766F}, {"\xF1\xB4", 0x007FCA}, {"\xF1\xB5", 0x007AE6}, 
{"\xF1\xB6", 0x007A78}, {"\xF1\xB7", 0x007A79}, {"\xF1\xB8", 0x007A80}, {"\xF1\xB9", 0x007A86}, 
{"\xF1\xBA", 0x007A88}, {"\xF1\xBB", 0x007A95}, {"\xF1\xBC", 0x007AA6}, {"\xF1\xBD", 0x007AA0}, 
{"\xF1\xBE", 0x007AAC}, {"\xF1\xBF", 0x007AA8}, {"\xF1\xC0", 0x007AAD}, {"\xF1\xC1", 0x007AB3}, 
{"\xF1\xC2", 0x008864}, {"\xF1\xC3", 0x008869}, {"\xF1\xC4", 0x008872}, {"\xF1\xC5", 0x00887D}, 
{"\xF1\xC6", 0x00887F}, {"\xF1\xC7", 0x008882}, {"\xF1\xC8", 0x0088A2}, {"\xF1\xC9", 0x0088C6}, 
{"\xF1\xCA", 0x0088B7}, {"\xF1\xCB", 0x0088BC}, {"\xF1\xCC", 0x0088C9}, {"\xF1\xCD", 0x0088E2}, 
{"\xF1\xCE", 0x0088CE}, {"\xF1\xCF", 0x0088E3}, {"\xF1\xD0", 0x0088E5}, {"\xF1\xD1", 0x0088F1}, 
{"\xF1\xD2", 0x00891A}, {"\xF1\xD3", 0x0088FC}, {"\xF1\xD4", 0x0088E8}, {"\xF1\xD5", 0x0088FE}, 
{"\xF1\xD6", 0x0088F0}, {"\xF1\xD7", 0x008921}, {"\xF1\xD8", 0x008919}, {"\xF1\xD9", 0x008913}, 
{"\xF1\xDA", 0x00891B}, {"\xF1\xDB", 0x00890A}, {"\xF1\xDC", 0x008934}, {"\xF1\xDD", 0x00892B}, 
{"\xF1\xDE", 0x008936}, {"\xF1\xDF", 0x008941}, {"\xF1\xE0", 0x008966}, {"\xF1\xE1", 0x00897B}, 
{"\xF1\xE2", 0x00758B}, {"\xF1\xE3", 0x0080E5}, {"\xF1\xE4", 0x0076B2}, {"\xF1\xE5", 0x0076B4}, 
{"\xF1\xE6", 0x0077DC}, {"\xF1\xE7", 0x008012}, {"\xF1\xE8", 0x008014}, {"\xF1\xE9", 0x008016}, 
{"\xF1\xEA", 0x00801C}, {"\xF1\xEB", 0x008020}, {"\xF1\xEC", 0x008022}, {"\xF1\xED", 0x008025}, 
{"\xF1\xEE", 0x008026}, {"\xF1\xEF", 0x008027}, {"\xF1\xF0", 0x008029}, {"\xF1\xF1", 0x008028}, 
{"\xF1\xF2", 0x008031}, {"\xF1\xF3", 0x00800B}, {"\xF1\xF4", 0x008035}, {"\xF1\xF5", 0x008043}, 
{"\xF1\xF6", 0x008046}, {"\xF1\xF7", 0x00804D}, {"\xF1\xF8", 0x008052}, {"\xF1\xF9", 0x008069}, 
{"\xF1\xFA", 0x008071}, {"\xF1\xFB", 0x008983}, {"\xF1\xFC", 0x009878}, {"\xF1\xFD", 0x009880}, 
{"\xF1\xFE", 0x009883}, {"\xF2\x40", 0x0099FA}, {"\xF2\x41", 0x0099FB}, {"\xF2\x42", 0x0099FC}, 
{"\xF2\x43", 0x0099FD}, {"\xF2\x44", 0x0099FE}, {"\xF2\x45", 0x0099FF}, {"\xF2\x46", 0x009A00}, 
{"\xF2\x47", 0x009A01}, {"\xF2\x48", 0x009A02}, {"\xF2\x49", 0x009A03}, {"\xF2\x4A", 0x009A04}, 
{"\xF2\x4B", 0x009A05}, {"\xF2\x4C", 0x009A06}, {"\xF2\x4D", 0x009A07}, {"\xF2\x4E", 0x009A08}, 
{"\xF2\x4F", 0x009A09}, {"\xF2\x50", 0x009A0A}, {"\xF2\x51", 0x009A0B}, {"\xF2\x52", 0x009A0C}, 
{"\xF2\x53", 0x009A0D}, {"\xF2\x54", 0x009A0E}, {"\xF2\x55", 0x009A0F}, {"\xF2\x56", 0x009A10}, 
{"\xF2\x57", 0x009A11}, {"\xF2\x58", 0x009A12}, {"\xF2\x59", 0x009A13}, {"\xF2\x5A", 0x009A14}, 
{"\xF2\x5B", 0x009A15}, {"\xF2\x5C", 0x009A16}, {"\xF2\x5D", 0x009A17}, {"\xF2\x5E", 0x009A18}, 
{"\xF2\x5F", 0x009A19}, {"\xF2\x60", 0x009A1A}, {"\xF2\x61", 0x009A1B}, {"\xF2\x62", 0x009A1C}, 
{"\xF2\x63", 0x009A1D}, {"\xF2\x64", 0x009A1E}, {"\xF2\x65", 0x009A1F}, {"\xF2\x66", 0x009A20}, 
{"\xF2\x67", 0x009A21}, {"\xF2\x68", 0x009A22}, {"\xF2\x69", 0x009A23}, {"\xF2\x6A", 0x009A24}, 
{"\xF2\x6B", 0x009A25}, {"\xF2\x6C", 0x009A26}, {"\xF2\x6D", 0x009A27}, {"\xF2\x6E", 0x009A28}, 
{"\xF2\x6F", 0x009A29}, {"\xF2\x70", 0x009A2A}, {"\xF2\x71", 0x009A2B}, {"\xF2\x72", 0x009A2C}, 
{"\xF2\x73", 0x009A2D}, {"\xF2\x74", 0x009A2E}, {"\xF2\x75", 0x009A2F}, {"\xF2\x76", 0x009A30}, 
{"\xF2\x77", 0x009A31}, {"\xF2\x78", 0x009A32}, {"\xF2\x79", 0x009A33}, {"\xF2\x7A", 0x009A34}, 
{"\xF2\x7B", 0x009A35}, {"\xF2\x7C", 0x009A36}, {"\xF2\x7D", 0x009A37}, {"\xF2\x7E", 0x009A38}, 
{"\xF2\x80", 0x009A39}, {"\xF2\x81", 0x009A3A}, {"\xF2\x82", 0x009A3B}, {"\xF2\x83", 0x009A3C}, 
{"\xF2\x84", 0x009A3D}, {"\xF2\x85", 0x009A3E}, {"\xF2\x86", 0x009A3F}, {"\xF2\x87", 0x009A40}, 
{"\xF2\x88", 0x009A41}, {"\xF2\x89", 0x009A42}, {"\xF2\x8A", 0x009A43}, {"\xF2\x8B", 0x009A44}, 
{"\xF2\x8C", 0x009A45}, {"\xF2\x8D", 0x009A46}, {"\xF2\x8E", 0x009A47}, {"\xF2\x8F", 0x009A48}, 
{"\xF2\x90", 0x009A49}, {"\xF2\x91", 0x009A4A}, {"\xF2\x92", 0x009A4B}, {"\xF2\x93", 0x009A4C}, 
{"\xF2\x94", 0x009A4D}, {"\xF2\x95", 0x009A4E}, {"\xF2\x96", 0x009A4F}, {"\xF2\x97", 0x009A50}, 
{"\xF2\x98", 0x009A51}, {"\xF2\x99", 0x009A52}, {"\xF2\x9A", 0x009A53}, {"\xF2\x9B", 0x009A54}, 
{"\xF2\x9C", 0x009A55}, {"\xF2\x9D", 0x009A56}, {"\xF2\x9E", 0x009A57}, {"\xF2\x9F", 0x009A58}, 
{"\xF2\xA0", 0x009A59}, {"\xF2\xA1", 0x009889}, {"\xF2\xA2", 0x00988C}, {"\xF2\xA3", 0x00988D}, 
{"\xF2\xA4", 0x00988F}, {"\xF2\xA5", 0x009894}, {"\xF2\xA6", 0x00989A}, {"\xF2\xA7", 0x00989B}, 
{"\xF2\xA8", 0x00989E}, {"\xF2\xA9", 0x00989F}, {"\xF2\xAA", 0x0098A1}, {"\xF2\xAB", 0x0098A2}, 
{"\xF2\xAC", 0x0098A5}, {"\xF2\xAD", 0x0098A6}, {"\xF2\xAE", 0x00864D}, {"\xF2\xAF", 0x008654}, 
{"\xF2\xB0", 0x00866C}, {"\xF2\xB1", 0x00866E}, {"\xF2\xB2", 0x00867F}, {"\xF2\xB3", 0x00867A}, 
{"\xF2\xB4", 0x00867C}, {"\xF2\xB5", 0x00867B}, {"\xF2\xB6", 0x0086A8}, {"\xF2\xB7", 0x00868D}, 
{"\xF2\xB8", 0x00868B}, {"\xF2\xB9", 0x0086AC}, {"\xF2\xBA", 0x00869D}, {"\xF2\xBB", 0x0086A7}, 
{"\xF2\xBC", 0x0086A3}, {"\xF2\xBD", 0x0086AA}, {"\xF2\xBE", 0x008693}, {"\xF2\xBF", 0x0086A9}, 
{"\xF2\xC0", 0x0086B6}, {"\xF2\xC1", 0x0086C4}, {"\xF2\xC2", 0x0086B5}, {"\xF2\xC3", 0x0086CE}, 
{"\xF2\xC4", 0x0086B0}, {"\xF2\xC5", 0x0086BA}, {"\xF2\xC6", 0x0086B1}, {"\xF2\xC7", 0x0086AF}, 
{"\xF2\xC8", 0x0086C9}, {"\xF2\xC9", 0x0086CF}, {"\xF2\xCA", 0x0086B4}, {"\xF2\xCB", 0x0086E9}, 
{"\xF2\xCC", 0x0086F1}, {"\xF2\xCD", 0x0086F2}, {"\xF2\xCE", 0x0086ED}, {"\xF2\xCF", 0x0086F3}, 
{"\xF2\xD0", 0x0086D0}, {"\xF2\xD1", 0x008713}, {"\xF2\xD2", 0x0086DE}, {"\xF2\xD3", 0x0086F4}, 
{"\xF2\xD4", 0x0086DF}, {"\xF2\xD5", 0x0086D8}, {"\xF2\xD6", 0x0086D1}, {"\xF2\xD7", 0x008703}, 
{"\xF2\xD8", 0x008707}, {"\xF2\xD9", 0x0086F8}, {"\xF2\xDA", 0x008708}, {"\xF2\xDB", 0x00870A}, 
{"\xF2\xDC", 0x00870D}, {"\xF2\xDD", 0x008709}, {"\xF2\xDE", 0x008723}, {"\xF2\xDF", 0x00873B}, 
{"\xF2\xE0", 0x00871E}, {"\xF2\xE1", 0x008725}, {"\xF2\xE2", 0x00872E}, {"\xF2\xE3", 0x00871A}, 

};
 for(size_t i=1; i<sizeof(db2bmp_54_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_54_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_55_gb18030_init()
{
static MB2UData db2bmp_55_gb18030 [] = { {"", 0}, 
{"\xF2\xE4", 0x00873E}, {"\xF2\xE5", 0x008748}, {"\xF2\xE6", 0x008734}, {"\xF2\xE7", 0x008731}, 
{"\xF2\xE8", 0x008729}, {"\xF2\xE9", 0x008737}, {"\xF2\xEA", 0x00873F}, {"\xF2\xEB", 0x008782}, 
{"\xF2\xEC", 0x008722}, {"\xF2\xED", 0x00877D}, {"\xF2\xEE", 0x00877E}, {"\xF2\xEF", 0x00877B}, 
{"\xF2\xF0", 0x008760}, {"\xF2\xF1", 0x008770}, {"\xF2\xF2", 0x00874C}, {"\xF2\xF3", 0x00876E}, 
{"\xF2\xF4", 0x00878B}, {"\xF2\xF5", 0x008753}, {"\xF2\xF6", 0x008763}, {"\xF2\xF7", 0x00877C}, 
{"\xF2\xF8", 0x008764}, {"\xF2\xF9", 0x008759}, {"\xF2\xFA", 0x008765}, {"\xF2\xFB", 0x008793}, 
{"\xF2\xFC", 0x0087AF}, {"\xF2\xFD", 0x0087A8}, {"\xF2\xFE", 0x0087D2}, {"\xF3\x40", 0x009A5A}, 
{"\xF3\x41", 0x009A5B}, {"\xF3\x42", 0x009A5C}, {"\xF3\x43", 0x009A5D}, {"\xF3\x44", 0x009A5E}, 
{"\xF3\x45", 0x009A5F}, {"\xF3\x46", 0x009A60}, {"\xF3\x47", 0x009A61}, {"\xF3\x48", 0x009A62}, 
{"\xF3\x49", 0x009A63}, {"\xF3\x4A", 0x009A64}, {"\xF3\x4B", 0x009A65}, {"\xF3\x4C", 0x009A66}, 
{"\xF3\x4D", 0x009A67}, {"\xF3\x4E", 0x009A68}, {"\xF3\x4F", 0x009A69}, {"\xF3\x50", 0x009A6A}, 
{"\xF3\x51", 0x009A6B}, {"\xF3\x52", 0x009A72}, {"\xF3\x53", 0x009A83}, {"\xF3\x54", 0x009A89}, 
{"\xF3\x55", 0x009A8D}, {"\xF3\x56", 0x009A8E}, {"\xF3\x57", 0x009A94}, {"\xF3\x58", 0x009A95}, 
{"\xF3\x59", 0x009A99}, {"\xF3\x5A", 0x009AA6}, {"\xF3\x5B", 0x009AA9}, {"\xF3\x5C", 0x009AAA}, 
{"\xF3\x5D", 0x009AAB}, {"\xF3\x5E", 0x009AAC}, {"\xF3\x5F", 0x009AAD}, {"\xF3\x60", 0x009AAE}, 
{"\xF3\x61", 0x009AAF}, {"\xF3\x62", 0x009AB2}, {"\xF3\x63", 0x009AB3}, {"\xF3\x64", 0x009AB4}, 
{"\xF3\x65", 0x009AB5}, {"\xF3\x66", 0x009AB9}, {"\xF3\x67", 0x009ABB}, {"\xF3\x68", 0x009ABD}, 
{"\xF3\x69", 0x009ABE}, {"\xF3\x6A", 0x009ABF}, {"\xF3\x6B", 0x009AC3}, {"\xF3\x6C", 0x009AC4}, 
{"\xF3\x6D", 0x009AC6}, {"\xF3\x6E", 0x009AC7}, {"\xF3\x6F", 0x009AC8}, {"\xF3\x70", 0x009AC9}, 
{"\xF3\x71", 0x009ACA}, {"\xF3\x72", 0x009ACD}, {"\xF3\x73", 0x009ACE}, {"\xF3\x74", 0x009ACF}, 
{"\xF3\x75", 0x009AD0}, {"\xF3\x76", 0x009AD2}, {"\xF3\x77", 0x009AD4}, {"\xF3\x78", 0x009AD5}, 
{"\xF3\x79", 0x009AD6}, {"\xF3\x7A", 0x009AD7}, {"\xF3\x7B", 0x009AD9}, {"\xF3\x7C", 0x009ADA}, 
{"\xF3\x7D", 0x009ADB}, {"\xF3\x7E", 0x009ADC}, {"\xF3\x80", 0x009ADD}, {"\xF3\x81", 0x009ADE}, 
{"\xF3\x82", 0x009AE0}, {"\xF3\x83", 0x009AE2}, {"\xF3\x84", 0x009AE3}, {"\xF3\x85", 0x009AE4}, 
{"\xF3\x86", 0x009AE5}, {"\xF3\x87", 0x009AE7}, {"\xF3\x88", 0x009AE8}, {"\xF3\x89", 0x009AE9}, 
{"\xF3\x8A", 0x009AEA}, {"\xF3\x8B", 0x009AEC}, {"\xF3\x8C", 0x009AEE}, {"\xF3\x8D", 0x009AF0}, 
{"\xF3\x8E", 0x009AF1}, {"\xF3\x8F", 0x009AF2}, {"\xF3\x90", 0x009AF3}, {"\xF3\x91", 0x009AF4}, 
{"\xF3\x92", 0x009AF5}, {"\xF3\x93", 0x009AF6}, {"\xF3\x94", 0x009AF7}, {"\xF3\x95", 0x009AF8}, 
{"\xF3\x96", 0x009AFA}, {"\xF3\x97", 0x009AFC}, {"\xF3\x98", 0x009AFD}, {"\xF3\x99", 0x009AFE}, 
{"\xF3\x9A", 0x009AFF}, {"\xF3\x9B", 0x009B00}, {"\xF3\x9C", 0x009B01}, {"\xF3\x9D", 0x009B02}, 
{"\xF3\x9E", 0x009B04}, {"\xF3\x9F", 0x009B05}, {"\xF3\xA0", 0x009B06}, {"\xF3\xA1", 0x0087C6}, 
{"\xF3\xA2", 0x008788}, {"\xF3\xA3", 0x008785}, {"\xF3\xA4", 0x0087AD}, {"\xF3\xA5", 0x008797}, 
{"\xF3\xA6", 0x008783}, {"\xF3\xA7", 0x0087AB}, {"\xF3\xA8", 0x0087E5}, {"\xF3\xA9", 0x0087AC}, 
{"\xF3\xAA", 0x0087B5}, {"\xF3\xAB", 0x0087B3}, {"\xF3\xAC", 0x0087CB}, {"\xF3\xAD", 0x0087D3}, 
{"\xF3\xAE", 0x0087BD}, {"\xF3\xAF", 0x0087D1}, {"\xF3\xB0", 0x0087C0}, {"\xF3\xB1", 0x0087CA}, 
{"\xF3\xB2", 0x0087DB}, {"\xF3\xB3", 0x0087EA}, {"\xF3\xB4", 0x0087E0}, {"\xF3\xB5", 0x0087EE}, 
{"\xF3\xB6", 0x008816}, {"\xF3\xB7", 0x008813}, {"\xF3\xB8", 0x0087FE}, {"\xF3\xB9", 0x00880A}, 
{"\xF3\xBA", 0x00881B}, {"\xF3\xBB", 0x008821}, {"\xF3\xBC", 0x008839}, {"\xF3\xBD", 0x00883C}, 
{"\xF3\xBE", 0x007F36}, {"\xF3\xBF", 0x007F42}, {"\xF3\xC0", 0x007F44}, {"\xF3\xC1", 0x007F45}, 
{"\xF3\xC2", 0x008210}, {"\xF3\xC3", 0x007AFA}, {"\xF3\xC4", 0x007AFD}, {"\xF3\xC5", 0x007B08}, 
{"\xF3\xC6", 0x007B03}, {"\xF3\xC7", 0x007B04}, {"\xF3\xC8", 0x007B15}, {"\xF3\xC9", 0x007B0A}, 
{"\xF3\xCA", 0x007B2B}, {"\xF3\xCB", 0x007B0F}, {"\xF3\xCC", 0x007B47}, {"\xF3\xCD", 0x007B38}, 
{"\xF3\xCE", 0x007B2A}, {"\xF3\xCF", 0x007B19}, {"\xF3\xD0", 0x007B2E}, {"\xF3\xD1", 0x007B31}, 
{"\xF3\xD2", 0x007B20}, {"\xF3\xD3", 0x007B25}, {"\xF3\xD4", 0x007B24}, {"\xF3\xD5", 0x007B33}, 
{"\xF3\xD6", 0x007B3E}, {"\xF3\xD7", 0x007B1E}, {"\xF3\xD8", 0x007B58}, {"\xF3\xD9", 0x007B5A}, 
{"\xF3\xDA", 0x007B45}, {"\xF3\xDB", 0x007B75}, {"\xF3\xDC", 0x007B4C}, {"\xF3\xDD", 0x007B5D}, 
{"\xF3\xDE", 0x007B60}, {"\xF3\xDF", 0x007B6E}, {"\xF3\xE0", 0x007B7B}, {"\xF3\xE1", 0x007B62}, 
{"\xF3\xE2", 0x007B72}, {"\xF3\xE3", 0x007B71}, {"\xF3\xE4", 0x007B90}, {"\xF3\xE5", 0x007BA6}, 
{"\xF3\xE6", 0x007BA7}, {"\xF3\xE7", 0x007BB8}, {"\xF3\xE8", 0x007BAC}, {"\xF3\xE9", 0x007B9D}, 
{"\xF3\xEA", 0x007BA8}, {"\xF3\xEB", 0x007B85}, {"\xF3\xEC", 0x007BAA}, {"\xF3\xED", 0x007B9C}, 
{"\xF3\xEE", 0x007BA2}, {"\xF3\xEF", 0x007BAB}, {"\xF3\xF0", 0x007BB4}, {"\xF3\xF1", 0x007BD1}, 
{"\xF3\xF2", 0x007BC1}, {"\xF3\xF3", 0x007BCC}, {"\xF3\xF4", 0x007BDD}, {"\xF3\xF5", 0x007BDA}, 
{"\xF3\xF6", 0x007BE5}, {"\xF3\xF7", 0x007BE6}, {"\xF3\xF8", 0x007BEA}, {"\xF3\xF9", 0x007C0C}, 
{"\xF3\xFA", 0x007BFE}, {"\xF3\xFB", 0x007BFC}, {"\xF3\xFC", 0x007C0F}, {"\xF3\xFD", 0x007C16}, 
{"\xF3\xFE", 0x007C0B}, {"\xF4\x40", 0x009B07}, {"\xF4\x41", 0x009B09}, {"\xF4\x42", 0x009B0A}, 
{"\xF4\x43", 0x009B0B}, {"\xF4\x44", 0x009B0C}, {"\xF4\x45", 0x009B0D}, {"\xF4\x46", 0x009B0E}, 
{"\xF4\x47", 0x009B10}, {"\xF4\x48", 0x009B11}, {"\xF4\x49", 0x009B12}, {"\xF4\x4A", 0x009B14}, 
{"\xF4\x4B", 0x009B15}, {"\xF4\x4C", 0x009B16}, {"\xF4\x4D", 0x009B17}, {"\xF4\x4E", 0x009B18}, 
{"\xF4\x4F", 0x009B19}, {"\xF4\x50", 0x009B1A}, {"\xF4\x51", 0x009B1B}, {"\xF4\x52", 0x009B1C}, 
{"\xF4\x53", 0x009B1D}, {"\xF4\x54", 0x009B1E}, {"\xF4\x55", 0x009B20}, {"\xF4\x56", 0x009B21}, 
{"\xF4\x57", 0x009B22}, {"\xF4\x58", 0x009B24}, {"\xF4\x59", 0x009B25}, {"\xF4\x5A", 0x009B26}, 
{"\xF4\x5B", 0x009B27}, {"\xF4\x5C", 0x009B28}, {"\xF4\x5D", 0x009B29}, {"\xF4\x5E", 0x009B2A}, 
{"\xF4\x5F", 0x009B2B}, {"\xF4\x60", 0x009B2C}, {"\xF4\x61", 0x009B2D}, {"\xF4\x62", 0x009B2E}, 
{"\xF4\x63", 0x009B30}, {"\xF4\x64", 0x009B31}, {"\xF4\x65", 0x009B33}, {"\xF4\x66", 0x009B34}, 

};
 for(size_t i=1; i<sizeof(db2bmp_55_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_55_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_56_gb18030_init()
{
static MB2UData db2bmp_56_gb18030 [] = { {"", 0}, 
{"\xF4\x67", 0x009B35}, {"\xF4\x68", 0x009B36}, {"\xF4\x69", 0x009B37}, {"\xF4\x6A", 0x009B38}, 
{"\xF4\x6B", 0x009B39}, {"\xF4\x6C", 0x009B3A}, {"\xF4\x6D", 0x009B3D}, {"\xF4\x6E", 0x009B3E}, 
{"\xF4\x6F", 0x009B3F}, {"\xF4\x70", 0x009B40}, {"\xF4\x71", 0x009B46}, {"\xF4\x72", 0x009B4A}, 
{"\xF4\x73", 0x009B4B}, {"\xF4\x74", 0x009B4C}, {"\xF4\x75", 0x009B4E}, {"\xF4\x76", 0x009B50}, 
{"\xF4\x77", 0x009B52}, {"\xF4\x78", 0x009B53}, {"\xF4\x79", 0x009B55}, {"\xF4\x7A", 0x009B56}, 
{"\xF4\x7B", 0x009B57}, {"\xF4\x7C", 0x009B58}, {"\xF4\x7D", 0x009B59}, {"\xF4\x7E", 0x009B5A}, 
{"\xF4\x80", 0x009B5B}, {"\xF4\x81", 0x009B5C}, {"\xF4\x82", 0x009B5D}, {"\xF4\x83", 0x009B5E}, 
{"\xF4\x84", 0x009B5F}, {"\xF4\x85", 0x009B60}, {"\xF4\x86", 0x009B61}, {"\xF4\x87", 0x009B62}, 
{"\xF4\x88", 0x009B63}, {"\xF4\x89", 0x009B64}, {"\xF4\x8A", 0x009B65}, {"\xF4\x8B", 0x009B66}, 
{"\xF4\x8C", 0x009B67}, {"\xF4\x8D", 0x009B68}, {"\xF4\x8E", 0x009B69}, {"\xF4\x8F", 0x009B6A}, 
{"\xF4\x90", 0x009B6B}, {"\xF4\x91", 0x009B6C}, {"\xF4\x92", 0x009B6D}, {"\xF4\x93", 0x009B6E}, 
{"\xF4\x94", 0x009B6F}, {"\xF4\x95", 0x009B70}, {"\xF4\x96", 0x009B71}, {"\xF4\x97", 0x009B72}, 
{"\xF4\x98", 0x009B73}, {"\xF4\x99", 0x009B74}, {"\xF4\x9A", 0x009B75}, {"\xF4\x9B", 0x009B76}, 
{"\xF4\x9C", 0x009B77}, {"\xF4\x9D", 0x009B78}, {"\xF4\x9E", 0x009B79}, {"\xF4\x9F", 0x009B7A}, 
{"\xF4\xA0", 0x009B7B}, {"\xF4\xA1", 0x007C1F}, {"\xF4\xA2", 0x007C2A}, {"\xF4\xA3", 0x007C26}, 
{"\xF4\xA4", 0x007C38}, {"\xF4\xA5", 0x007C41}, {"\xF4\xA6", 0x007C40}, {"\xF4\xA7", 0x0081FE}, 
{"\xF4\xA8", 0x008201}, {"\xF4\xA9", 0x008202}, {"\xF4\xAA", 0x008204}, {"\xF4\xAB", 0x0081EC}, 
{"\xF4\xAC", 0x008844}, {"\xF4\xAD", 0x008221}, {"\xF4\xAE", 0x008222}, {"\xF4\xAF", 0x008223}, 
{"\xF4\xB0", 0x00822D}, {"\xF4\xB1", 0x00822F}, {"\xF4\xB2", 0x008228}, {"\xF4\xB3", 0x00822B}, 
{"\xF4\xB4", 0x008238}, {"\xF4\xB5", 0x00823B}, {"\xF4\xB6", 0x008233}, {"\xF4\xB7", 0x008234}, 
{"\xF4\xB8", 0x00823E}, {"\xF4\xB9", 0x008244}, {"\xF4\xBA", 0x008249}, {"\xF4\xBB", 0x00824B}, 
{"\xF4\xBC", 0x00824F}, {"\xF4\xBD", 0x00825A}, {"\xF4\xBE", 0x00825F}, {"\xF4\xBF", 0x008268}, 
{"\xF4\xC0", 0x00887E}, {"\xF4\xC1", 0x008885}, {"\xF4\xC2", 0x008888}, {"\xF4\xC3", 0x0088D8}, 
{"\xF4\xC4", 0x0088DF}, {"\xF4\xC5", 0x00895E}, {"\xF4\xC6", 0x007F9D}, {"\xF4\xC7", 0x007F9F}, 
{"\xF4\xC8", 0x007FA7}, {"\xF4\xC9", 0x007FAF}, {"\xF4\xCA", 0x007FB0}, {"\xF4\xCB", 0x007FB2}, 
{"\xF4\xCC", 0x007C7C}, {"\xF4\xCD", 0x006549}, {"\xF4\xCE", 0x007C91}, {"\xF4\xCF", 0x007C9D}, 
{"\xF4\xD0", 0x007C9C}, {"\xF4\xD1", 0x007C9E}, {"\xF4\xD2", 0x007CA2}, {"\xF4\xD3", 0x007CB2}, 
{"\xF4\xD4", 0x007CBC}, {"\xF4\xD5", 0x007CBD}, {"\xF4\xD6", 0x007CC1}, {"\xF4\xD7", 0x007CC7}, 
{"\xF4\xD8", 0x007CCC}, {"\xF4\xD9", 0x007CCD}, {"\xF4\xDA", 0x007CC8}, {"\xF4\xDB", 0x007CC5}, 
{"\xF4\xDC", 0x007CD7}, {"\xF4\xDD", 0x007CE8}, {"\xF4\xDE", 0x00826E}, {"\xF4\xDF", 0x0066A8}, 
{"\xF4\xE0", 0x007FBF}, {"\xF4\xE1", 0x007FCE}, {"\xF4\xE2", 0x007FD5}, {"\xF4\xE3", 0x007FE5}, 
{"\xF4\xE4", 0x007FE1}, {"\xF4\xE5", 0x007FE6}, {"\xF4\xE6", 0x007FE9}, {"\xF4\xE7", 0x007FEE}, 
{"\xF4\xE8", 0x007FF3}, {"\xF4\xE9", 0x007CF8}, {"\xF4\xEA", 0x007D77}, {"\xF4\xEB", 0x007DA6}, 
{"\xF4\xEC", 0x007DAE}, {"\xF4\xED", 0x007E47}, {"\xF4\xEE", 0x007E9B}, {"\xF4\xEF", 0x009EB8}, 
{"\xF4\xF0", 0x009EB4}, {"\xF4\xF1", 0x008D73}, {"\xF4\xF2", 0x008D84}, {"\xF4\xF3", 0x008D94}, 
{"\xF4\xF4", 0x008D91}, {"\xF4\xF5", 0x008DB1}, {"\xF4\xF6", 0x008D67}, {"\xF4\xF7", 0x008D6D}, 
{"\xF4\xF8", 0x008C47}, {"\xF4\xF9", 0x008C49}, {"\xF4\xFA", 0x00914A}, {"\xF4\xFB", 0x009150}, 
{"\xF4\xFC", 0x00914E}, {"\xF4\xFD", 0x00914F}, {"\xF4\xFE", 0x009164}, {"\xF5\x40", 0x009B7C}, 
{"\xF5\x41", 0x009B7D}, {"\xF5\x42", 0x009B7E}, {"\xF5\x43", 0x009B7F}, {"\xF5\x44", 0x009B80}, 
{"\xF5\x45", 0x009B81}, {"\xF5\x46", 0x009B82}, {"\xF5\x47", 0x009B83}, {"\xF5\x48", 0x009B84}, 
{"\xF5\x49", 0x009B85}, {"\xF5\x4A", 0x009B86}, {"\xF5\x4B", 0x009B87}, {"\xF5\x4C", 0x009B88}, 
{"\xF5\x4D", 0x009B89}, {"\xF5\x4E", 0x009B8A}, {"\xF5\x4F", 0x009B8B}, {"\xF5\x50", 0x009B8C}, 
{"\xF5\x51", 0x009B8D}, {"\xF5\x52", 0x009B8E}, {"\xF5\x53", 0x009B8F}, {"\xF5\x54", 0x009B90}, 
{"\xF5\x55", 0x009B91}, {"\xF5\x56", 0x009B92}, {"\xF5\x57", 0x009B93}, {"\xF5\x58", 0x009B94}, 
{"\xF5\x59", 0x009B95}, {"\xF5\x5A", 0x009B96}, {"\xF5\x5B", 0x009B97}, {"\xF5\x5C", 0x009B98}, 
{"\xF5\x5D", 0x009B99}, {"\xF5\x5E", 0x009B9A}, {"\xF5\x5F", 0x009B9B}, {"\xF5\x60", 0x009B9C}, 
{"\xF5\x61", 0x009B9D}, {"\xF5\x62", 0x009B9E}, {"\xF5\x63", 0x009B9F}, {"\xF5\x64", 0x009BA0}, 
{"\xF5\x65", 0x009BA1}, {"\xF5\x66", 0x009BA2}, {"\xF5\x67", 0x009BA3}, {"\xF5\x68", 0x009BA4}, 
{"\xF5\x69", 0x009BA5}, {"\xF5\x6A", 0x009BA6}, {"\xF5\x6B", 0x009BA7}, {"\xF5\x6C", 0x009BA8}, 
{"\xF5\x6D", 0x009BA9}, {"\xF5\x6E", 0x009BAA}, {"\xF5\x6F", 0x009BAB}, {"\xF5\x70", 0x009BAC}, 
{"\xF5\x71", 0x009BAD}, {"\xF5\x72", 0x009BAE}, {"\xF5\x73", 0x009BAF}, {"\xF5\x74", 0x009BB0}, 
{"\xF5\x75", 0x009BB1}, {"\xF5\x76", 0x009BB2}, {"\xF5\x77", 0x009BB3}, {"\xF5\x78", 0x009BB4}, 
{"\xF5\x79", 0x009BB5}, {"\xF5\x7A", 0x009BB6}, {"\xF5\x7B", 0x009BB7}, {"\xF5\x7C", 0x009BB8}, 
{"\xF5\x7D", 0x009BB9}, {"\xF5\x7E", 0x009BBA}, {"\xF5\x80", 0x009BBB}, {"\xF5\x81", 0x009BBC}, 
{"\xF5\x82", 0x009BBD}, {"\xF5\x83", 0x009BBE}, {"\xF5\x84", 0x009BBF}, {"\xF5\x85", 0x009BC0}, 
{"\xF5\x86", 0x009BC1}, {"\xF5\x87", 0x009BC2}, {"\xF5\x88", 0x009BC3}, {"\xF5\x89", 0x009BC4}, 
{"\xF5\x8A", 0x009BC5}, {"\xF5\x8B", 0x009BC6}, {"\xF5\x8C", 0x009BC7}, {"\xF5\x8D", 0x009BC8}, 
{"\xF5\x8E", 0x009BC9}, {"\xF5\x8F", 0x009BCA}, {"\xF5\x90", 0x009BCB}, {"\xF5\x91", 0x009BCC}, 
{"\xF5\x92", 0x009BCD}, {"\xF5\x93", 0x009BCE}, {"\xF5\x94", 0x009BCF}, {"\xF5\x95", 0x009BD0}, 
{"\xF5\x96", 0x009BD1}, {"\xF5\x97", 0x009BD2}, {"\xF5\x98", 0x009BD3}, {"\xF5\x99", 0x009BD4}, 
{"\xF5\x9A", 0x009BD5}, {"\xF5\x9B", 0x009BD6}, {"\xF5\x9C", 0x009BD7}, {"\xF5\x9D", 0x009BD8}, 
{"\xF5\x9E", 0x009BD9}, {"\xF5\x9F", 0x009BDA}, {"\xF5\xA0", 0x009BDB}, {"\xF5\xA1", 0x009162}, 
{"\xF5\xA2", 0x009161}, {"\xF5\xA3", 0x009170}, {"\xF5\xA4", 0x009169}, {"\xF5\xA5", 0x00916F}, 
{"\xF5\xA6", 0x00917D}, {"\xF5\xA7", 0x00917E}, {"\xF5\xA8", 0x009172}, {"\xF5\xA9", 0x009174}, 

};
 for(size_t i=1; i<sizeof(db2bmp_56_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_56_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_57_gb18030_init()
{
static MB2UData db2bmp_57_gb18030 [] = { {"", 0}, 
{"\xF5\xAA", 0x009179}, {"\xF5\xAB", 0x00918C}, {"\xF5\xAC", 0x009185}, {"\xF5\xAD", 0x009190}, 
{"\xF5\xAE", 0x00918D}, {"\xF5\xAF", 0x009191}, {"\xF5\xB0", 0x0091A2}, {"\xF5\xB1", 0x0091A3}, 
{"\xF5\xB2", 0x0091AA}, {"\xF5\xB3", 0x0091AD}, {"\xF5\xB4", 0x0091AE}, {"\xF5\xB5", 0x0091AF}, 
{"\xF5\xB6", 0x0091B5}, {"\xF5\xB7", 0x0091B4}, {"\xF5\xB8", 0x0091BA}, {"\xF5\xB9", 0x008C55}, 
{"\xF5\xBA", 0x009E7E}, {"\xF5\xBB", 0x008DB8}, {"\xF5\xBC", 0x008DEB}, {"\xF5\xBD", 0x008E05}, 
{"\xF5\xBE", 0x008E59}, {"\xF5\xBF", 0x008E69}, {"\xF5\xC0", 0x008DB5}, {"\xF5\xC1", 0x008DBF}, 
{"\xF5\xC2", 0x008DBC}, {"\xF5\xC3", 0x008DBA}, {"\xF5\xC4", 0x008DC4}, {"\xF5\xC5", 0x008DD6}, 
{"\xF5\xC6", 0x008DD7}, {"\xF5\xC7", 0x008DDA}, {"\xF5\xC8", 0x008DDE}, {"\xF5\xC9", 0x008DCE}, 
{"\xF5\xCA", 0x008DCF}, {"\xF5\xCB", 0x008DDB}, {"\xF5\xCC", 0x008DC6}, {"\xF5\xCD", 0x008DEC}, 
{"\xF5\xCE", 0x008DF7}, {"\xF5\xCF", 0x008DF8}, {"\xF5\xD0", 0x008DE3}, {"\xF5\xD1", 0x008DF9}, 
{"\xF5\xD2", 0x008DFB}, {"\xF5\xD3", 0x008DE4}, {"\xF5\xD4", 0x008E09}, {"\xF5\xD5", 0x008DFD}, 
{"\xF5\xD6", 0x008E14}, {"\xF5\xD7", 0x008E1D}, {"\xF5\xD8", 0x008E1F}, {"\xF5\xD9", 0x008E2C}, 
{"\xF5\xDA", 0x008E2E}, {"\xF5\xDB", 0x008E23}, {"\xF5\xDC", 0x008E2F}, {"\xF5\xDD", 0x008E3A}, 
{"\xF5\xDE", 0x008E40}, {"\xF5\xDF", 0x008E39}, {"\xF5\xE0", 0x008E35}, {"\xF5\xE1", 0x008E3D}, 
{"\xF5\xE2", 0x008E31}, {"\xF5\xE3", 0x008E49}, {"\xF5\xE4", 0x008E41}, {"\xF5\xE5", 0x008E42}, 
{"\xF5\xE6", 0x008E51}, {"\xF5\xE7", 0x008E52}, {"\xF5\xE8", 0x008E4A}, {"\xF5\xE9", 0x008E70}, 
{"\xF5\xEA", 0x008E76}, {"\xF5\xEB", 0x008E7C}, {"\xF5\xEC", 0x008E6F}, {"\xF5\xED", 0x008E74}, 
{"\xF5\xEE", 0x008E85}, {"\xF5\xEF", 0x008E8F}, {"\xF5\xF0", 0x008E94}, {"\xF5\xF1", 0x008E90}, 
{"\xF5\xF2", 0x008E9C}, {"\xF5\xF3", 0x008E9E}, {"\xF5\xF4", 0x008C78}, {"\xF5\xF5", 0x008C82}, 
{"\xF5\xF6", 0x008C8A}, {"\xF5\xF7", 0x008C85}, {"\xF5\xF8", 0x008C98}, {"\xF5\xF9", 0x008C94}, 
{"\xF5\xFA", 0x00659B}, {"\xF5\xFB", 0x0089D6}, {"\xF5\xFC", 0x0089DE}, {"\xF5\xFD", 0x0089DA}, 
{"\xF5\xFE", 0x0089DC}, {"\xF6\x40", 0x009BDC}, {"\xF6\x41", 0x009BDD}, {"\xF6\x42", 0x009BDE}, 
{"\xF6\x43", 0x009BDF}, {"\xF6\x44", 0x009BE0}, {"\xF6\x45", 0x009BE1}, {"\xF6\x46", 0x009BE2}, 
{"\xF6\x47", 0x009BE3}, {"\xF6\x48", 0x009BE4}, {"\xF6\x49", 0x009BE5}, {"\xF6\x4A", 0x009BE6}, 
{"\xF6\x4B", 0x009BE7}, {"\xF6\x4C", 0x009BE8}, {"\xF6\x4D", 0x009BE9}, {"\xF6\x4E", 0x009BEA}, 
{"\xF6\x4F", 0x009BEB}, {"\xF6\x50", 0x009BEC}, {"\xF6\x51", 0x009BED}, {"\xF6\x52", 0x009BEE}, 
{"\xF6\x53", 0x009BEF}, {"\xF6\x54", 0x009BF0}, {"\xF6\x55", 0x009BF1}, {"\xF6\x56", 0x009BF2}, 
{"\xF6\x57", 0x009BF3}, {"\xF6\x58", 0x009BF4}, {"\xF6\x59", 0x009BF5}, {"\xF6\x5A", 0x009BF6}, 
{"\xF6\x5B", 0x009BF7}, {"\xF6\x5C", 0x009BF8}, {"\xF6\x5D", 0x009BF9}, {"\xF6\x5E", 0x009BFA}, 
{"\xF6\x5F", 0x009BFB}, {"\xF6\x60", 0x009BFC}, {"\xF6\x61", 0x009BFD}, {"\xF6\x62", 0x009BFE}, 
{"\xF6\x63", 0x009BFF}, {"\xF6\x64", 0x009C00}, {"\xF6\x65", 0x009C01}, {"\xF6\x66", 0x009C02}, 
{"\xF6\x67", 0x009C03}, {"\xF6\x68", 0x009C04}, {"\xF6\x69", 0x009C05}, {"\xF6\x6A", 0x009C06}, 
{"\xF6\x6B", 0x009C07}, {"\xF6\x6C", 0x009C08}, {"\xF6\x6D", 0x009C09}, {"\xF6\x6E", 0x009C0A}, 
{"\xF6\x6F", 0x009C0B}, {"\xF6\x70", 0x009C0C}, {"\xF6\x71", 0x009C0D}, {"\xF6\x72", 0x009C0E}, 
{"\xF6\x73", 0x009C0F}, {"\xF6\x74", 0x009C10}, {"\xF6\x75", 0x009C11}, {"\xF6\x76", 0x009C12}, 
{"\xF6\x77", 0x009C13}, {"\xF6\x78", 0x009C14}, {"\xF6\x79", 0x009C15}, {"\xF6\x7A", 0x009C16}, 
{"\xF6\x7B", 0x009C17}, {"\xF6\x7C", 0x009C18}, {"\xF6\x7D", 0x009C19}, {"\xF6\x7E", 0x009C1A}, 
{"\xF6\x80", 0x009C1B}, {"\xF6\x81", 0x009C1C}, {"\xF6\x82", 0x009C1D}, {"\xF6\x83", 0x009C1E}, 
{"\xF6\x84", 0x009C1F}, {"\xF6\x85", 0x009C20}, {"\xF6\x86", 0x009C21}, {"\xF6\x87", 0x009C22}, 
{"\xF6\x88", 0x009C23}, {"\xF6\x89", 0x009C24}, {"\xF6\x8A", 0x009C25}, {"\xF6\x8B", 0x009C26}, 
{"\xF6\x8C", 0x009C27}, {"\xF6\x8D", 0x009C28}, {"\xF6\x8E", 0x009C29}, {"\xF6\x8F", 0x009C2A}, 
{"\xF6\x90", 0x009C2B}, {"\xF6\x91", 0x009C2C}, {"\xF6\x92", 0x009C2D}, {"\xF6\x93", 0x009C2E}, 
{"\xF6\x94", 0x009C2F}, {"\xF6\x95", 0x009C30}, {"\xF6\x96", 0x009C31}, {"\xF6\x97", 0x009C32}, 
{"\xF6\x98", 0x009C33}, {"\xF6\x99", 0x009C34}, {"\xF6\x9A", 0x009C35}, {"\xF6\x9B", 0x009C36}, 
{"\xF6\x9C", 0x009C37}, {"\xF6\x9D", 0x009C38}, {"\xF6\x9E", 0x009C39}, {"\xF6\x9F", 0x009C3A}, 
{"\xF6\xA0", 0x009C3B}, {"\xF6\xA1", 0x0089E5}, {"\xF6\xA2", 0x0089EB}, {"\xF6\xA3", 0x0089EF}, 
{"\xF6\xA4", 0x008A3E}, {"\xF6\xA5", 0x008B26}, {"\xF6\xA6", 0x009753}, {"\xF6\xA7", 0x0096E9}, 
{"\xF6\xA8", 0x0096F3}, {"\xF6\xA9", 0x0096EF}, {"\xF6\xAA", 0x009706}, {"\xF6\xAB", 0x009701}, 
{"\xF6\xAC", 0x009708}, {"\xF6\xAD", 0x00970F}, {"\xF6\xAE", 0x00970E}, {"\xF6\xAF", 0x00972A}, 
{"\xF6\xB0", 0x00972D}, {"\xF6\xB1", 0x009730}, {"\xF6\xB2", 0x00973E}, {"\xF6\xB3", 0x009F80}, 
{"\xF6\xB4", 0x009F83}, {"\xF6\xB5", 0x009F85}, {"\xF6\xB6", 0x009F86}, {"\xF6\xB7", 0x009F87}, 
{"\xF6\xB8", 0x009F88}, {"\xF6\xB9", 0x009F89}, {"\xF6\xBA", 0x009F8A}, {"\xF6\xBB", 0x009F8C}, 
{"\xF6\xBC", 0x009EFE}, {"\xF6\xBD", 0x009F0B}, {"\xF6\xBE", 0x009F0D}, {"\xF6\xBF", 0x0096B9}, 
{"\xF6\xC0", 0x0096BC}, {"\xF6\xC1", 0x0096BD}, {"\xF6\xC2", 0x0096CE}, {"\xF6\xC3", 0x0096D2}, 
{"\xF6\xC4", 0x0077BF}, {"\xF6\xC5", 0x0096E0}, {"\xF6\xC6", 0x00928E}, {"\xF6\xC7", 0x0092AE}, 
{"\xF6\xC8", 0x0092C8}, {"\xF6\xC9", 0x00933E}, {"\xF6\xCA", 0x00936A}, {"\xF6\xCB", 0x0093CA}, 
{"\xF6\xCC", 0x00938F}, {"\xF6\xCD", 0x00943E}, {"\xF6\xCE", 0x00946B}, {"\xF6\xCF", 0x009C7F}, 
{"\xF6\xD0", 0x009C82}, {"\xF6\xD1", 0x009C85}, {"\xF6\xD2", 0x009C86}, {"\xF6\xD3", 0x009C87}, 
{"\xF6\xD4", 0x009C88}, {"\xF6\xD5", 0x007A23}, {"\xF6\xD6", 0x009C8B}, {"\xF6\xD7", 0x009C8E}, 
{"\xF6\xD8", 0x009C90}, {"\xF6\xD9", 0x009C91}, {"\xF6\xDA", 0x009C92}, {"\xF6\xDB", 0x009C94}, 
{"\xF6\xDC", 0x009C95}, {"\xF6\xDD", 0x009C9A}, {"\xF6\xDE", 0x009C9B}, {"\xF6\xDF", 0x009C9E}, 
{"\xF6\xE0", 0x009C9F}, {"\xF6\xE1", 0x009CA0}, {"\xF6\xE2", 0x009CA1}, {"\xF6\xE3", 0x009CA2}, 
{"\xF6\xE4", 0x009CA3}, {"\xF6\xE5", 0x009CA5}, {"\xF6\xE6", 0x009CA6}, {"\xF6\xE7", 0x009CA7}, 
{"\xF6\xE8", 0x009CA8}, {"\xF6\xE9", 0x009CA9}, {"\xF6\xEA", 0x009CAB}, {"\xF6\xEB", 0x009CAD}, 

};
 for(size_t i=1; i<sizeof(db2bmp_57_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_57_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_58_gb18030_init()
{
static MB2UData db2bmp_58_gb18030 [] = { {"", 0}, 
{"\xF6\xEC", 0x009CAE}, {"\xF6\xED", 0x009CB0}, {"\xF6\xEE", 0x009CB1}, {"\xF6\xEF", 0x009CB2}, 
{"\xF6\xF0", 0x009CB3}, {"\xF6\xF1", 0x009CB4}, {"\xF6\xF2", 0x009CB5}, {"\xF6\xF3", 0x009CB6}, 
{"\xF6\xF4", 0x009CB7}, {"\xF6\xF5", 0x009CBA}, {"\xF6\xF6", 0x009CBB}, {"\xF6\xF7", 0x009CBC}, 
{"\xF6\xF8", 0x009CBD}, {"\xF6\xF9", 0x009CC4}, {"\xF6\xFA", 0x009CC5}, {"\xF6\xFB", 0x009CC6}, 
{"\xF6\xFC", 0x009CC7}, {"\xF6\xFD", 0x009CCA}, {"\xF6\xFE", 0x009CCB}, {"\xF7\x40", 0x009C3C}, 
{"\xF7\x41", 0x009C3D}, {"\xF7\x42", 0x009C3E}, {"\xF7\x43", 0x009C3F}, {"\xF7\x44", 0x009C40}, 
{"\xF7\x45", 0x009C41}, {"\xF7\x46", 0x009C42}, {"\xF7\x47", 0x009C43}, {"\xF7\x48", 0x009C44}, 
{"\xF7\x49", 0x009C45}, {"\xF7\x4A", 0x009C46}, {"\xF7\x4B", 0x009C47}, {"\xF7\x4C", 0x009C48}, 
{"\xF7\x4D", 0x009C49}, {"\xF7\x4E", 0x009C4A}, {"\xF7\x4F", 0x009C4B}, {"\xF7\x50", 0x009C4C}, 
{"\xF7\x51", 0x009C4D}, {"\xF7\x52", 0x009C4E}, {"\xF7\x53", 0x009C4F}, {"\xF7\x54", 0x009C50}, 
{"\xF7\x55", 0x009C51}, {"\xF7\x56", 0x009C52}, {"\xF7\x57", 0x009C53}, {"\xF7\x58", 0x009C54}, 
{"\xF7\x59", 0x009C55}, {"\xF7\x5A", 0x009C56}, {"\xF7\x5B", 0x009C57}, {"\xF7\x5C", 0x009C58}, 
{"\xF7\x5D", 0x009C59}, {"\xF7\x5E", 0x009C5A}, {"\xF7\x5F", 0x009C5B}, {"\xF7\x60", 0x009C5C}, 
{"\xF7\x61", 0x009C5D}, {"\xF7\x62", 0x009C5E}, {"\xF7\x63", 0x009C5F}, {"\xF7\x64", 0x009C60}, 
{"\xF7\x65", 0x009C61}, {"\xF7\x66", 0x009C62}, {"\xF7\x67", 0x009C63}, {"\xF7\x68", 0x009C64}, 
{"\xF7\x69", 0x009C65}, {"\xF7\x6A", 0x009C66}, {"\xF7\x6B", 0x009C67}, {"\xF7\x6C", 0x009C68}, 
{"\xF7\x6D", 0x009C69}, {"\xF7\x6E", 0x009C6A}, {"\xF7\x6F", 0x009C6B}, {"\xF7\x70", 0x009C6C}, 
{"\xF7\x71", 0x009C6D}, {"\xF7\x72", 0x009C6E}, {"\xF7\x73", 0x009C6F}, {"\xF7\x74", 0x009C70}, 
{"\xF7\x75", 0x009C71}, {"\xF7\x76", 0x009C72}, {"\xF7\x77", 0x009C73}, {"\xF7\x78", 0x009C74}, 
{"\xF7\x79", 0x009C75}, {"\xF7\x7A", 0x009C76}, {"\xF7\x7B", 0x009C77}, {"\xF7\x7C", 0x009C78}, 
{"\xF7\x7D", 0x009C79}, {"\xF7\x7E", 0x009C7A}, {"\xF7\x80", 0x009C7B}, {"\xF7\x81", 0x009C7D}, 
{"\xF7\x82", 0x009C7E}, {"\xF7\x83", 0x009C80}, {"\xF7\x84", 0x009C83}, {"\xF7\x85", 0x009C84}, 
{"\xF7\x86", 0x009C89}, {"\xF7\x87", 0x009C8A}, {"\xF7\x88", 0x009C8C}, {"\xF7\x89", 0x009C8F}, 
{"\xF7\x8A", 0x009C93}, {"\xF7\x8B", 0x009C96}, {"\xF7\x8C", 0x009C97}, {"\xF7\x8D", 0x009C98}, 
{"\xF7\x8E", 0x009C99}, {"\xF7\x8F", 0x009C9D}, {"\xF7\x90", 0x009CAA}, {"\xF7\x91", 0x009CAC}, 
{"\xF7\x92", 0x009CAF}, {"\xF7\x93", 0x009CB9}, {"\xF7\x94", 0x009CBE}, {"\xF7\x95", 0x009CBF}, 
{"\xF7\x96", 0x009CC0}, {"\xF7\x97", 0x009CC1}, {"\xF7\x98", 0x009CC2}, {"\xF7\x99", 0x009CC8}, 
{"\xF7\x9A", 0x009CC9}, {"\xF7\x9B", 0x009CD1}, {"\xF7\x9C", 0x009CD2}, {"\xF7\x9D", 0x009CDA}, 
{"\xF7\x9E", 0x009CDB}, {"\xF7\x9F", 0x009CE0}, {"\xF7\xA0", 0x009CE1}, {"\xF7\xA1", 0x009CCC}, 
{"\xF7\xA2", 0x009CCD}, {"\xF7\xA3", 0x009CCE}, {"\xF7\xA4", 0x009CCF}, {"\xF7\xA5", 0x009CD0}, 
{"\xF7\xA6", 0x009CD3}, {"\xF7\xA7", 0x009CD4}, {"\xF7\xA8", 0x009CD5}, {"\xF7\xA9", 0x009CD7}, 
{"\xF7\xAA", 0x009CD8}, {"\xF7\xAB", 0x009CD9}, {"\xF7\xAC", 0x009CDC}, {"\xF7\xAD", 0x009CDD}, 
{"\xF7\xAE", 0x009CDF}, {"\xF7\xAF", 0x009CE2}, {"\xF7\xB0", 0x00977C}, {"\xF7\xB1", 0x009785}, 
{"\xF7\xB2", 0x009791}, {"\xF7\xB3", 0x009792}, {"\xF7\xB4", 0x009794}, {"\xF7\xB5", 0x0097AF}, 
{"\xF7\xB6", 0x0097AB}, {"\xF7\xB7", 0x0097A3}, {"\xF7\xB8", 0x0097B2}, {"\xF7\xB9", 0x0097B4}, 
{"\xF7\xBA", 0x009AB1}, {"\xF7\xBB", 0x009AB0}, {"\xF7\xBC", 0x009AB7}, {"\xF7\xBD", 0x009E58}, 
{"\xF7\xBE", 0x009AB6}, {"\xF7\xBF", 0x009ABA}, {"\xF7\xC0", 0x009ABC}, {"\xF7\xC1", 0x009AC1}, 
{"\xF7\xC2", 0x009AC0}, {"\xF7\xC3", 0x009AC5}, {"\xF7\xC4", 0x009AC2}, {"\xF7\xC5", 0x009ACB}, 
{"\xF7\xC6", 0x009ACC}, {"\xF7\xC7", 0x009AD1}, {"\xF7\xC8", 0x009B45}, {"\xF7\xC9", 0x009B43}, 
{"\xF7\xCA", 0x009B47}, {"\xF7\xCB", 0x009B49}, {"\xF7\xCC", 0x009B48}, {"\xF7\xCD", 0x009B4D}, 
{"\xF7\xCE", 0x009B51}, {"\xF7\xCF", 0x0098E8}, {"\xF7\xD0", 0x00990D}, {"\xF7\xD1", 0x00992E}, 
{"\xF7\xD2", 0x009955}, {"\xF7\xD3", 0x009954}, {"\xF7\xD4", 0x009ADF}, {"\xF7\xD5", 0x009AE1}, 
{"\xF7\xD6", 0x009AE6}, {"\xF7\xD7", 0x009AEF}, {"\xF7\xD8", 0x009AEB}, {"\xF7\xD9", 0x009AFB}, 
{"\xF7\xDA", 0x009AED}, {"\xF7\xDB", 0x009AF9}, {"\xF7\xDC", 0x009B08}, {"\xF7\xDD", 0x009B0F}, 
{"\xF7\xDE", 0x009B13}, {"\xF7\xDF", 0x009B1F}, {"\xF7\xE0", 0x009B23}, {"\xF7\xE1", 0x009EBD}, 
{"\xF7\xE2", 0x009EBE}, {"\xF7\xE3", 0x007E3B}, {"\xF7\xE4", 0x009E82}, {"\xF7\xE5", 0x009E87}, 
{"\xF7\xE6", 0x009E88}, {"\xF7\xE7", 0x009E8B}, {"\xF7\xE8", 0x009E92}, {"\xF7\xE9", 0x0093D6}, 
{"\xF7\xEA", 0x009E9D}, {"\xF7\xEB", 0x009E9F}, {"\xF7\xEC", 0x009EDB}, {"\xF7\xED", 0x009EDC}, 
{"\xF7\xEE", 0x009EDD}, {"\xF7\xEF", 0x009EE0}, {"\xF7\xF0", 0x009EDF}, {"\xF7\xF1", 0x009EE2}, 
{"\xF7\xF2", 0x009EE9}, {"\xF7\xF3", 0x009EE7}, {"\xF7\xF4", 0x009EE5}, {"\xF7\xF5", 0x009EEA}, 
{"\xF7\xF6", 0x009EEF}, {"\xF7\xF7", 0x009F22}, {"\xF7\xF8", 0x009F2C}, {"\xF7\xF9", 0x009F2F}, 
{"\xF7\xFA", 0x009F39}, {"\xF7\xFB", 0x009F37}, {"\xF7\xFC", 0x009F3D}, {"\xF7\xFD", 0x009F3E}, 
{"\xF7\xFE", 0x009F44}, {"\xF8\x40", 0x009CE3}, {"\xF8\x41", 0x009CE4}, {"\xF8\x42", 0x009CE5}, 
{"\xF8\x43", 0x009CE6}, {"\xF8\x44", 0x009CE7}, {"\xF8\x45", 0x009CE8}, {"\xF8\x46", 0x009CE9}, 
{"\xF8\x47", 0x009CEA}, {"\xF8\x48", 0x009CEB}, {"\xF8\x49", 0x009CEC}, {"\xF8\x4A", 0x009CED}, 
{"\xF8\x4B", 0x009CEE}, {"\xF8\x4C", 0x009CEF}, {"\xF8\x4D", 0x009CF0}, {"\xF8\x4E", 0x009CF1}, 
{"\xF8\x4F", 0x009CF2}, {"\xF8\x50", 0x009CF3}, {"\xF8\x51", 0x009CF4}, {"\xF8\x52", 0x009CF5}, 
{"\xF8\x53", 0x009CF6}, {"\xF8\x54", 0x009CF7}, {"\xF8\x55", 0x009CF8}, {"\xF8\x56", 0x009CF9}, 
{"\xF8\x57", 0x009CFA}, {"\xF8\x58", 0x009CFB}, {"\xF8\x59", 0x009CFC}, {"\xF8\x5A", 0x009CFD}, 
{"\xF8\x5B", 0x009CFE}, {"\xF8\x5C", 0x009CFF}, {"\xF8\x5D", 0x009D00}, {"\xF8\x5E", 0x009D01}, 
{"\xF8\x5F", 0x009D02}, {"\xF8\x60", 0x009D03}, {"\xF8\x61", 0x009D04}, {"\xF8\x62", 0x009D05}, 
{"\xF8\x63", 0x009D06}, {"\xF8\x64", 0x009D07}, {"\xF8\x65", 0x009D08}, {"\xF8\x66", 0x009D09}, 
{"\xF8\x67", 0x009D0A}, {"\xF8\x68", 0x009D0B}, {"\xF8\x69", 0x009D0C}, {"\xF8\x6A", 0x009D0D}, 
{"\xF8\x6B", 0x009D0E}, {"\xF8\x6C", 0x009D0F}, {"\xF8\x6D", 0x009D10}, {"\xF8\x6E", 0x009D11}, 

};
 for(size_t i=1; i<sizeof(db2bmp_58_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_58_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_59_gb18030_init()
{
static MB2UData db2bmp_59_gb18030 [] = { {"", 0}, 
{"\xF8\x6F", 0x009D12}, {"\xF8\x70", 0x009D13}, {"\xF8\x71", 0x009D14}, {"\xF8\x72", 0x009D15}, 
{"\xF8\x73", 0x009D16}, {"\xF8\x74", 0x009D17}, {"\xF8\x75", 0x009D18}, {"\xF8\x76", 0x009D19}, 
{"\xF8\x77", 0x009D1A}, {"\xF8\x78", 0x009D1B}, {"\xF8\x79", 0x009D1C}, {"\xF8\x7A", 0x009D1D}, 
{"\xF8\x7B", 0x009D1E}, {"\xF8\x7C", 0x009D1F}, {"\xF8\x7D", 0x009D20}, {"\xF8\x7E", 0x009D21}, 
{"\xF8\x80", 0x009D22}, {"\xF8\x81", 0x009D23}, {"\xF8\x82", 0x009D24}, {"\xF8\x83", 0x009D25}, 
{"\xF8\x84", 0x009D26}, {"\xF8\x85", 0x009D27}, {"\xF8\x86", 0x009D28}, {"\xF8\x87", 0x009D29}, 
{"\xF8\x88", 0x009D2A}, {"\xF8\x89", 0x009D2B}, {"\xF8\x8A", 0x009D2C}, {"\xF8\x8B", 0x009D2D}, 
{"\xF8\x8C", 0x009D2E}, {"\xF8\x8D", 0x009D2F}, {"\xF8\x8E", 0x009D30}, {"\xF8\x8F", 0x009D31}, 
{"\xF8\x90", 0x009D32}, {"\xF8\x91", 0x009D33}, {"\xF8\x92", 0x009D34}, {"\xF8\x93", 0x009D35}, 
{"\xF8\x94", 0x009D36}, {"\xF8\x95", 0x009D37}, {"\xF8\x96", 0x009D38}, {"\xF8\x97", 0x009D39}, 
{"\xF8\x98", 0x009D3A}, {"\xF8\x99", 0x009D3B}, {"\xF8\x9A", 0x009D3C}, {"\xF8\x9B", 0x009D3D}, 
{"\xF8\x9C", 0x009D3E}, {"\xF8\x9D", 0x009D3F}, {"\xF8\x9E", 0x009D40}, {"\xF8\x9F", 0x009D41}, 
{"\xF8\xA0", 0x009D42}, {"\xF8\xA1", 0x00E234}, {"\xF8\xA2", 0x00E235}, {"\xF8\xA3", 0x00E236}, 
{"\xF8\xA4", 0x00E237}, {"\xF8\xA5", 0x00E238}, {"\xF8\xA6", 0x00E239}, {"\xF8\xA7", 0x00E23A}, 
{"\xF8\xA8", 0x00E23B}, {"\xF8\xA9", 0x00E23C}, {"\xF8\xAA", 0x00E23D}, {"\xF8\xAB", 0x00E23E}, 
{"\xF8\xAC", 0x00E23F}, {"\xF8\xAD", 0x00E240}, {"\xF8\xAE", 0x00E241}, {"\xF8\xAF", 0x00E242}, 
{"\xF8\xB0", 0x00E243}, {"\xF8\xB1", 0x00E244}, {"\xF8\xB2", 0x00E245}, {"\xF8\xB3", 0x00E246}, 
{"\xF8\xB4", 0x00E247}, {"\xF8\xB5", 0x00E248}, {"\xF8\xB6", 0x00E249}, {"\xF8\xB7", 0x00E24A}, 
{"\xF8\xB8", 0x00E24B}, {"\xF8\xB9", 0x00E24C}, {"\xF8\xBA", 0x00E24D}, {"\xF8\xBB", 0x00E24E}, 
{"\xF8\xBC", 0x00E24F}, {"\xF8\xBD", 0x00E250}, {"\xF8\xBE", 0x00E251}, {"\xF8\xBF", 0x00E252}, 
{"\xF8\xC0", 0x00E253}, {"\xF8\xC1", 0x00E254}, {"\xF8\xC2", 0x00E255}, {"\xF8\xC3", 0x00E256}, 
{"\xF8\xC4", 0x00E257}, {"\xF8\xC5", 0x00E258}, {"\xF8\xC6", 0x00E259}, {"\xF8\xC7", 0x00E25A}, 
{"\xF8\xC8", 0x00E25B}, {"\xF8\xC9", 0x00E25C}, {"\xF8\xCA", 0x00E25D}, {"\xF8\xCB", 0x00E25E}, 
{"\xF8\xCC", 0x00E25F}, {"\xF8\xCD", 0x00E260}, {"\xF8\xCE", 0x00E261}, {"\xF8\xCF", 0x00E262}, 
{"\xF8\xD0", 0x00E263}, {"\xF8\xD1", 0x00E264}, {"\xF8\xD2", 0x00E265}, {"\xF8\xD3", 0x00E266}, 
{"\xF8\xD4", 0x00E267}, {"\xF8\xD5", 0x00E268}, {"\xF8\xD6", 0x00E269}, {"\xF8\xD7", 0x00E26A}, 
{"\xF8\xD8", 0x00E26B}, {"\xF8\xD9", 0x00E26C}, {"\xF8\xDA", 0x00E26D}, {"\xF8\xDB", 0x00E26E}, 
{"\xF8\xDC", 0x00E26F}, {"\xF8\xDD", 0x00E270}, {"\xF8\xDE", 0x00E271}, {"\xF8\xDF", 0x00E272}, 
{"\xF8\xE0", 0x00E273}, {"\xF8\xE1", 0x00E274}, {"\xF8\xE2", 0x00E275}, {"\xF8\xE3", 0x00E276}, 
{"\xF8\xE4", 0x00E277}, {"\xF8\xE5", 0x00E278}, {"\xF8\xE6", 0x00E279}, {"\xF8\xE7", 0x00E27A}, 
{"\xF8\xE8", 0x00E27B}, {"\xF8\xE9", 0x00E27C}, {"\xF8\xEA", 0x00E27D}, {"\xF8\xEB", 0x00E27E}, 
{"\xF8\xEC", 0x00E27F}, {"\xF8\xED", 0x00E280}, {"\xF8\xEE", 0x00E281}, {"\xF8\xEF", 0x00E282}, 
{"\xF8\xF0", 0x00E283}, {"\xF8\xF1", 0x00E284}, {"\xF8\xF2", 0x00E285}, {"\xF8\xF3", 0x00E286}, 
{"\xF8\xF4", 0x00E287}, {"\xF8\xF5", 0x00E288}, {"\xF8\xF6", 0x00E289}, {"\xF8\xF7", 0x00E28A}, 
{"\xF8\xF8", 0x00E28B}, {"\xF8\xF9", 0x00E28C}, {"\xF8\xFA", 0x00E28D}, {"\xF8\xFB", 0x00E28E}, 
{"\xF8\xFC", 0x00E28F}, {"\xF8\xFD", 0x00E290}, {"\xF8\xFE", 0x00E291}, {"\xF9\x40", 0x009D43}, 
{"\xF9\x41", 0x009D44}, {"\xF9\x42", 0x009D45}, {"\xF9\x43", 0x009D46}, {"\xF9\x44", 0x009D47}, 
{"\xF9\x45", 0x009D48}, {"\xF9\x46", 0x009D49}, {"\xF9\x47", 0x009D4A}, {"\xF9\x48", 0x009D4B}, 
{"\xF9\x49", 0x009D4C}, {"\xF9\x4A", 0x009D4D}, {"\xF9\x4B", 0x009D4E}, {"\xF9\x4C", 0x009D4F}, 
{"\xF9\x4D", 0x009D50}, {"\xF9\x4E", 0x009D51}, {"\xF9\x4F", 0x009D52}, {"\xF9\x50", 0x009D53}, 
{"\xF9\x51", 0x009D54}, {"\xF9\x52", 0x009D55}, {"\xF9\x53", 0x009D56}, {"\xF9\x54", 0x009D57}, 
{"\xF9\x55", 0x009D58}, {"\xF9\x56", 0x009D59}, {"\xF9\x57", 0x009D5A}, {"\xF9\x58", 0x009D5B}, 
{"\xF9\x59", 0x009D5C}, {"\xF9\x5A", 0x009D5D}, {"\xF9\x5B", 0x009D5E}, {"\xF9\x5C", 0x009D5F}, 
{"\xF9\x5D", 0x009D60}, {"\xF9\x5E", 0x009D61}, {"\xF9\x5F", 0x009D62}, {"\xF9\x60", 0x009D63}, 
{"\xF9\x61", 0x009D64}, {"\xF9\x62", 0x009D65}, {"\xF9\x63", 0x009D66}, {"\xF9\x64", 0x009D67}, 
{"\xF9\x65", 0x009D68}, {"\xF9\x66", 0x009D69}, {"\xF9\x67", 0x009D6A}, {"\xF9\x68", 0x009D6B}, 
{"\xF9\x69", 0x009D6C}, {"\xF9\x6A", 0x009D6D}, {"\xF9\x6B", 0x009D6E}, {"\xF9\x6C", 0x009D6F}, 
{"\xF9\x6D", 0x009D70}, {"\xF9\x6E", 0x009D71}, {"\xF9\x6F", 0x009D72}, {"\xF9\x70", 0x009D73}, 
{"\xF9\x71", 0x009D74}, {"\xF9\x72", 0x009D75}, {"\xF9\x73", 0x009D76}, {"\xF9\x74", 0x009D77}, 
{"\xF9\x75", 0x009D78}, {"\xF9\x76", 0x009D79}, {"\xF9\x77", 0x009D7A}, {"\xF9\x78", 0x009D7B}, 
{"\xF9\x79", 0x009D7C}, {"\xF9\x7A", 0x009D7D}, {"\xF9\x7B", 0x009D7E}, {"\xF9\x7C", 0x009D7F}, 
{"\xF9\x7D", 0x009D80}, {"\xF9\x7E", 0x009D81}, {"\xF9\x80", 0x009D82}, {"\xF9\x81", 0x009D83}, 
{"\xF9\x82", 0x009D84}, {"\xF9\x83", 0x009D85}, {"\xF9\x84", 0x009D86}, {"\xF9\x85", 0x009D87}, 
{"\xF9\x86", 0x009D88}, {"\xF9\x87", 0x009D89}, {"\xF9\x88", 0x009D8A}, {"\xF9\x89", 0x009D8B}, 
{"\xF9\x8A", 0x009D8C}, {"\xF9\x8B", 0x009D8D}, {"\xF9\x8C", 0x009D8E}, {"\xF9\x8D", 0x009D8F}, 
{"\xF9\x8E", 0x009D90}, {"\xF9\x8F", 0x009D91}, {"\xF9\x90", 0x009D92}, {"\xF9\x91", 0x009D93}, 
{"\xF9\x92", 0x009D94}, {"\xF9\x93", 0x009D95}, {"\xF9\x94", 0x009D96}, {"\xF9\x95", 0x009D97}, 
{"\xF9\x96", 0x009D98}, {"\xF9\x97", 0x009D99}, {"\xF9\x98", 0x009D9A}, {"\xF9\x99", 0x009D9B}, 
{"\xF9\x9A", 0x009D9C}, {"\xF9\x9B", 0x009D9D}, {"\xF9\x9C", 0x009D9E}, {"\xF9\x9D", 0x009D9F}, 
{"\xF9\x9E", 0x009DA0}, {"\xF9\x9F", 0x009DA1}, {"\xF9\xA0", 0x009DA2}, {"\xF9\xA1", 0x00E292}, 
{"\xF9\xA2", 0x00E293}, {"\xF9\xA3", 0x00E294}, {"\xF9\xA4", 0x00E295}, {"\xF9\xA5", 0x00E296}, 
{"\xF9\xA6", 0x00E297}, {"\xF9\xA7", 0x00E298}, {"\xF9\xA8", 0x00E299}, {"\xF9\xA9", 0x00E29A}, 
{"\xF9\xAA", 0x00E29B}, {"\xF9\xAB", 0x00E29C}, {"\xF9\xAC", 0x00E29D}, {"\xF9\xAD", 0x00E29E}, 
{"\xF9\xAE", 0x00E29F}, {"\xF9\xAF", 0x00E2A0}, {"\xF9\xB0", 0x00E2A1}, {"\xF9\xB1", 0x00E2A2}, 

};
 for(size_t i=1; i<sizeof(db2bmp_59_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_59_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_5a_gb18030_init()
{
static MB2UData db2bmp_5a_gb18030 [] = { {"", 0}, 
{"\xF9\xB2", 0x00E2A3}, {"\xF9\xB3", 0x00E2A4}, {"\xF9\xB4", 0x00E2A5}, {"\xF9\xB5", 0x00E2A6}, 
{"\xF9\xB6", 0x00E2A7}, {"\xF9\xB7", 0x00E2A8}, {"\xF9\xB8", 0x00E2A9}, {"\xF9\xB9", 0x00E2AA}, 
{"\xF9\xBA", 0x00E2AB}, {"\xF9\xBB", 0x00E2AC}, {"\xF9\xBC", 0x00E2AD}, {"\xF9\xBD", 0x00E2AE}, 
{"\xF9\xBE", 0x00E2AF}, {"\xF9\xBF", 0x00E2B0}, {"\xF9\xC0", 0x00E2B1}, {"\xF9\xC1", 0x00E2B2}, 
{"\xF9\xC2", 0x00E2B3}, {"\xF9\xC3", 0x00E2B4}, {"\xF9\xC4", 0x00E2B5}, {"\xF9\xC5", 0x00E2B6}, 
{"\xF9\xC6", 0x00E2B7}, {"\xF9\xC7", 0x00E2B8}, {"\xF9\xC8", 0x00E2B9}, {"\xF9\xC9", 0x00E2BA}, 
{"\xF9\xCA", 0x00E2BB}, {"\xF9\xCB", 0x00E2BC}, {"\xF9\xCC", 0x00E2BD}, {"\xF9\xCD", 0x00E2BE}, 
{"\xF9\xCE", 0x00E2BF}, {"\xF9\xCF", 0x00E2C0}, {"\xF9\xD0", 0x00E2C1}, {"\xF9\xD1", 0x00E2C2}, 
{"\xF9\xD2", 0x00E2C3}, {"\xF9\xD3", 0x00E2C4}, {"\xF9\xD4", 0x00E2C5}, {"\xF9\xD5", 0x00E2C6}, 
{"\xF9\xD6", 0x00E2C7}, {"\xF9\xD7", 0x00E2C8}, {"\xF9\xD8", 0x00E2C9}, {"\xF9\xD9", 0x00E2CA}, 
{"\xF9\xDA", 0x00E2CB}, {"\xF9\xDB", 0x00E2CC}, {"\xF9\xDC", 0x00E2CD}, {"\xF9\xDD", 0x00E2CE}, 
{"\xF9\xDE", 0x00E2CF}, {"\xF9\xDF", 0x00E2D0}, {"\xF9\xE0", 0x00E2D1}, {"\xF9\xE1", 0x00E2D2}, 
{"\xF9\xE2", 0x00E2D3}, {"\xF9\xE3", 0x00E2D4}, {"\xF9\xE4", 0x00E2D5}, {"\xF9\xE5", 0x00E2D6}, 
{"\xF9\xE6", 0x00E2D7}, {"\xF9\xE7", 0x00E2D8}, {"\xF9\xE8", 0x00E2D9}, {"\xF9\xE9", 0x00E2DA}, 
{"\xF9\xEA", 0x00E2DB}, {"\xF9\xEB", 0x00E2DC}, {"\xF9\xEC", 0x00E2DD}, {"\xF9\xED", 0x00E2DE}, 
{"\xF9\xEE", 0x00E2DF}, {"\xF9\xEF", 0x00E2E0}, {"\xF9\xF0", 0x00E2E1}, {"\xF9\xF1", 0x00E2E2}, 
{"\xF9\xF2", 0x00E2E3}, {"\xF9\xF3", 0x00E2E4}, {"\xF9\xF4", 0x00E2E5}, {"\xF9\xF5", 0x00E2E6}, 
{"\xF9\xF6", 0x00E2E7}, {"\xF9\xF7", 0x00E2E8}, {"\xF9\xF8", 0x00E2E9}, {"\xF9\xF9", 0x00E2EA}, 
{"\xF9\xFA", 0x00E2EB}, {"\xF9\xFB", 0x00E2EC}, {"\xF9\xFC", 0x00E2ED}, {"\xF9\xFD", 0x00E2EE}, 
{"\xF9\xFE", 0x00E2EF}, {"\xFA\x40", 0x009DA3}, {"\xFA\x41", 0x009DA4}, {"\xFA\x42", 0x009DA5}, 
{"\xFA\x43", 0x009DA6}, {"\xFA\x44", 0x009DA7}, {"\xFA\x45", 0x009DA8}, {"\xFA\x46", 0x009DA9}, 
{"\xFA\x47", 0x009DAA}, {"\xFA\x48", 0x009DAB}, {"\xFA\x49", 0x009DAC}, {"\xFA\x4A", 0x009DAD}, 
{"\xFA\x4B", 0x009DAE}, {"\xFA\x4C", 0x009DAF}, {"\xFA\x4D", 0x009DB0}, {"\xFA\x4E", 0x009DB1}, 
{"\xFA\x4F", 0x009DB2}, {"\xFA\x50", 0x009DB3}, {"\xFA\x51", 0x009DB4}, {"\xFA\x52", 0x009DB5}, 
{"\xFA\x53", 0x009DB6}, {"\xFA\x54", 0x009DB7}, {"\xFA\x55", 0x009DB8}, {"\xFA\x56", 0x009DB9}, 
{"\xFA\x57", 0x009DBA}, {"\xFA\x58", 0x009DBB}, {"\xFA\x59", 0x009DBC}, {"\xFA\x5A", 0x009DBD}, 
{"\xFA\x5B", 0x009DBE}, {"\xFA\x5C", 0x009DBF}, {"\xFA\x5D", 0x009DC0}, {"\xFA\x5E", 0x009DC1}, 
{"\xFA\x5F", 0x009DC2}, {"\xFA\x60", 0x009DC3}, {"\xFA\x61", 0x009DC4}, {"\xFA\x62", 0x009DC5}, 
{"\xFA\x63", 0x009DC6}, {"\xFA\x64", 0x009DC7}, {"\xFA\x65", 0x009DC8}, {"\xFA\x66", 0x009DC9}, 
{"\xFA\x67", 0x009DCA}, {"\xFA\x68", 0x009DCB}, {"\xFA\x69", 0x009DCC}, {"\xFA\x6A", 0x009DCD}, 
{"\xFA\x6B", 0x009DCE}, {"\xFA\x6C", 0x009DCF}, {"\xFA\x6D", 0x009DD0}, {"\xFA\x6E", 0x009DD1}, 
{"\xFA\x6F", 0x009DD2}, {"\xFA\x70", 0x009DD3}, {"\xFA\x71", 0x009DD4}, {"\xFA\x72", 0x009DD5}, 
{"\xFA\x73", 0x009DD6}, {"\xFA\x74", 0x009DD7}, {"\xFA\x75", 0x009DD8}, {"\xFA\x76", 0x009DD9}, 
{"\xFA\x77", 0x009DDA}, {"\xFA\x78", 0x009DDB}, {"\xFA\x79", 0x009DDC}, {"\xFA\x7A", 0x009DDD}, 
{"\xFA\x7B", 0x009DDE}, {"\xFA\x7C", 0x009DDF}, {"\xFA\x7D", 0x009DE0}, {"\xFA\x7E", 0x009DE1}, 
{"\xFA\x80", 0x009DE2}, {"\xFA\x81", 0x009DE3}, {"\xFA\x82", 0x009DE4}, {"\xFA\x83", 0x009DE5}, 
{"\xFA\x84", 0x009DE6}, {"\xFA\x85", 0x009DE7}, {"\xFA\x86", 0x009DE8}, {"\xFA\x87", 0x009DE9}, 
{"\xFA\x88", 0x009DEA}, {"\xFA\x89", 0x009DEB}, {"\xFA\x8A", 0x009DEC}, {"\xFA\x8B", 0x009DED}, 
{"\xFA\x8C", 0x009DEE}, {"\xFA\x8D", 0x009DEF}, {"\xFA\x8E", 0x009DF0}, {"\xFA\x8F", 0x009DF1}, 
{"\xFA\x90", 0x009DF2}, {"\xFA\x91", 0x009DF3}, {"\xFA\x92", 0x009DF4}, {"\xFA\x93", 0x009DF5}, 
{"\xFA\x94", 0x009DF6}, {"\xFA\x95", 0x009DF7}, {"\xFA\x96", 0x009DF8}, {"\xFA\x97", 0x009DF9}, 
{"\xFA\x98", 0x009DFA}, {"\xFA\x99", 0x009DFB}, {"\xFA\x9A", 0x009DFC}, {"\xFA\x9B", 0x009DFD}, 
{"\xFA\x9C", 0x009DFE}, {"\xFA\x9D", 0x009DFF}, {"\xFA\x9E", 0x009E00}, {"\xFA\x9F", 0x009E01}, 
{"\xFA\xA0", 0x009E02}, {"\xFA\xA1", 0x00E2F0}, {"\xFA\xA2", 0x00E2F1}, {"\xFA\xA3", 0x00E2F2}, 
{"\xFA\xA4", 0x00E2F3}, {"\xFA\xA5", 0x00E2F4}, {"\xFA\xA6", 0x00E2F5}, {"\xFA\xA7", 0x00E2F6}, 
{"\xFA\xA8", 0x00E2F7}, {"\xFA\xA9", 0x00E2F8}, {"\xFA\xAA", 0x00E2F9}, {"\xFA\xAB", 0x00E2FA}, 
{"\xFA\xAC", 0x00E2FB}, {"\xFA\xAD", 0x00E2FC}, {"\xFA\xAE", 0x00E2FD}, {"\xFA\xAF", 0x00E2FE}, 
{"\xFA\xB0", 0x00E2FF}, {"\xFA\xB1", 0x00E300}, {"\xFA\xB2", 0x00E301}, {"\xFA\xB3", 0x00E302}, 
{"\xFA\xB4", 0x00E303}, {"\xFA\xB5", 0x00E304}, {"\xFA\xB6", 0x00E305}, {"\xFA\xB7", 0x00E306}, 
{"\xFA\xB8", 0x00E307}, {"\xFA\xB9", 0x00E308}, {"\xFA\xBA", 0x00E309}, {"\xFA\xBB", 0x00E30A}, 
{"\xFA\xBC", 0x00E30B}, {"\xFA\xBD", 0x00E30C}, {"\xFA\xBE", 0x00E30D}, {"\xFA\xBF", 0x00E30E}, 
{"\xFA\xC0", 0x00E30F}, {"\xFA\xC1", 0x00E310}, {"\xFA\xC2", 0x00E311}, {"\xFA\xC3", 0x00E312}, 
{"\xFA\xC4", 0x00E313}, {"\xFA\xC5", 0x00E314}, {"\xFA\xC6", 0x00E315}, {"\xFA\xC7", 0x00E316}, 
{"\xFA\xC8", 0x00E317}, {"\xFA\xC9", 0x00E318}, {"\xFA\xCA", 0x00E319}, {"\xFA\xCB", 0x00E31A}, 
{"\xFA\xCC", 0x00E31B}, {"\xFA\xCD", 0x00E31C}, {"\xFA\xCE", 0x00E31D}, {"\xFA\xCF", 0x00E31E}, 
{"\xFA\xD0", 0x00E31F}, {"\xFA\xD1", 0x00E320}, {"\xFA\xD2", 0x00E321}, {"\xFA\xD3", 0x00E322}, 
{"\xFA\xD4", 0x00E323}, {"\xFA\xD5", 0x00E324}, {"\xFA\xD6", 0x00E325}, {"\xFA\xD7", 0x00E326}, 
{"\xFA\xD8", 0x00E327}, {"\xFA\xD9", 0x00E328}, {"\xFA\xDA", 0x00E329}, {"\xFA\xDB", 0x00E32A}, 
{"\xFA\xDC", 0x00E32B}, {"\xFA\xDD", 0x00E32C}, {"\xFA\xDE", 0x00E32D}, {"\xFA\xDF", 0x00E32E}, 
{"\xFA\xE0", 0x00E32F}, {"\xFA\xE1", 0x00E330}, {"\xFA\xE2", 0x00E331}, {"\xFA\xE3", 0x00E332}, 
{"\xFA\xE4", 0x00E333}, {"\xFA\xE5", 0x00E334}, {"\xFA\xE6", 0x00E335}, {"\xFA\xE7", 0x00E336}, 
{"\xFA\xE8", 0x00E337}, {"\xFA\xE9", 0x00E338}, {"\xFA\xEA", 0x00E339}, {"\xFA\xEB", 0x00E33A}, 
{"\xFA\xEC", 0x00E33B}, {"\xFA\xED", 0x00E33C}, {"\xFA\xEE", 0x00E33D}, {"\xFA\xEF", 0x00E33E}, 
{"\xFA\xF0", 0x00E33F}, {"\xFA\xF1", 0x00E340}, {"\xFA\xF2", 0x00E341}, {"\xFA\xF3", 0x00E342}, 

};
 for(size_t i=1; i<sizeof(db2bmp_5a_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_5a_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_5b_gb18030_init()
{
static MB2UData db2bmp_5b_gb18030 [] = { {"", 0}, 
{"\xFA\xF4", 0x00E343}, {"\xFA\xF5", 0x00E344}, {"\xFA\xF6", 0x00E345}, {"\xFA\xF7", 0x00E346}, 
{"\xFA\xF8", 0x00E347}, {"\xFA\xF9", 0x00E348}, {"\xFA\xFA", 0x00E349}, {"\xFA\xFB", 0x00E34A}, 
{"\xFA\xFC", 0x00E34B}, {"\xFA\xFD", 0x00E34C}, {"\xFA\xFE", 0x00E34D}, {"\xFB\x40", 0x009E03}, 
{"\xFB\x41", 0x009E04}, {"\xFB\x42", 0x009E05}, {"\xFB\x43", 0x009E06}, {"\xFB\x44", 0x009E07}, 
{"\xFB\x45", 0x009E08}, {"\xFB\x46", 0x009E09}, {"\xFB\x47", 0x009E0A}, {"\xFB\x48", 0x009E0B}, 
{"\xFB\x49", 0x009E0C}, {"\xFB\x4A", 0x009E0D}, {"\xFB\x4B", 0x009E0E}, {"\xFB\x4C", 0x009E0F}, 
{"\xFB\x4D", 0x009E10}, {"\xFB\x4E", 0x009E11}, {"\xFB\x4F", 0x009E12}, {"\xFB\x50", 0x009E13}, 
{"\xFB\x51", 0x009E14}, {"\xFB\x52", 0x009E15}, {"\xFB\x53", 0x009E16}, {"\xFB\x54", 0x009E17}, 
{"\xFB\x55", 0x009E18}, {"\xFB\x56", 0x009E19}, {"\xFB\x57", 0x009E1A}, {"\xFB\x58", 0x009E1B}, 
{"\xFB\x59", 0x009E1C}, {"\xFB\x5A", 0x009E1D}, {"\xFB\x5B", 0x009E1E}, {"\xFB\x5C", 0x009E24}, 
{"\xFB\x5D", 0x009E27}, {"\xFB\x5E", 0x009E2E}, {"\xFB\x5F", 0x009E30}, {"\xFB\x60", 0x009E34}, 
{"\xFB\x61", 0x009E3B}, {"\xFB\x62", 0x009E3C}, {"\xFB\x63", 0x009E40}, {"\xFB\x64", 0x009E4D}, 
{"\xFB\x65", 0x009E50}, {"\xFB\x66", 0x009E52}, {"\xFB\x67", 0x009E53}, {"\xFB\x68", 0x009E54}, 
{"\xFB\x69", 0x009E56}, {"\xFB\x6A", 0x009E59}, {"\xFB\x6B", 0x009E5D}, {"\xFB\x6C", 0x009E5F}, 
{"\xFB\x6D", 0x009E60}, {"\xFB\x6E", 0x009E61}, {"\xFB\x6F", 0x009E62}, {"\xFB\x70", 0x009E65}, 
{"\xFB\x71", 0x009E6E}, {"\xFB\x72", 0x009E6F}, {"\xFB\x73", 0x009E72}, {"\xFB\x74", 0x009E74}, 
{"\xFB\x75", 0x009E75}, {"\xFB\x76", 0x009E76}, {"\xFB\x77", 0x009E77}, {"\xFB\x78", 0x009E78}, 
{"\xFB\x79", 0x009E79}, {"\xFB\x7A", 0x009E7A}, {"\xFB\x7B", 0x009E7B}, {"\xFB\x7C", 0x009E7C}, 
{"\xFB\x7D", 0x009E7D}, {"\xFB\x7E", 0x009E80}, {"\xFB\x80", 0x009E81}, {"\xFB\x81", 0x009E83}, 
{"\xFB\x82", 0x009E84}, {"\xFB\x83", 0x009E85}, {"\xFB\x84", 0x009E86}, {"\xFB\x85", 0x009E89}, 
{"\xFB\x86", 0x009E8A}, {"\xFB\x87", 0x009E8C}, {"\xFB\x88", 0x009E8D}, {"\xFB\x89", 0x009E8E}, 
{"\xFB\x8A", 0x009E8F}, {"\xFB\x8B", 0x009E90}, {"\xFB\x8C", 0x009E91}, {"\xFB\x8D", 0x009E94}, 
{"\xFB\x8E", 0x009E95}, {"\xFB\x8F", 0x009E96}, {"\xFB\x90", 0x009E97}, {"\xFB\x91", 0x009E98}, 
{"\xFB\x92", 0x009E99}, {"\xFB\x93", 0x009E9A}, {"\xFB\x94", 0x009E9B}, {"\xFB\x95", 0x009E9C}, 
{"\xFB\x96", 0x009E9E}, {"\xFB\x97", 0x009EA0}, {"\xFB\x98", 0x009EA1}, {"\xFB\x99", 0x009EA2}, 
{"\xFB\x9A", 0x009EA3}, {"\xFB\x9B", 0x009EA4}, {"\xFB\x9C", 0x009EA5}, {"\xFB\x9D", 0x009EA7}, 
{"\xFB\x9E", 0x009EA8}, {"\xFB\x9F", 0x009EA9}, {"\xFB\xA0", 0x009EAA}, {"\xFB\xA1", 0x00E34E}, 
{"\xFB\xA2", 0x00E34F}, {"\xFB\xA3", 0x00E350}, {"\xFB\xA4", 0x00E351}, {"\xFB\xA5", 0x00E352}, 
{"\xFB\xA6", 0x00E353}, {"\xFB\xA7", 0x00E354}, {"\xFB\xA8", 0x00E355}, {"\xFB\xA9", 0x00E356}, 
{"\xFB\xAA", 0x00E357}, {"\xFB\xAB", 0x00E358}, {"\xFB\xAC", 0x00E359}, {"\xFB\xAD", 0x00E35A}, 
{"\xFB\xAE", 0x00E35B}, {"\xFB\xAF", 0x00E35C}, {"\xFB\xB0", 0x00E35D}, {"\xFB\xB1", 0x00E35E}, 
{"\xFB\xB2", 0x00E35F}, {"\xFB\xB3", 0x00E360}, {"\xFB\xB4", 0x00E361}, {"\xFB\xB5", 0x00E362}, 
{"\xFB\xB6", 0x00E363}, {"\xFB\xB7", 0x00E364}, {"\xFB\xB8", 0x00E365}, {"\xFB\xB9", 0x00E366}, 
{"\xFB\xBA", 0x00E367}, {"\xFB\xBB", 0x00E368}, {"\xFB\xBC", 0x00E369}, {"\xFB\xBD", 0x00E36A}, 
{"\xFB\xBE", 0x00E36B}, {"\xFB\xBF", 0x00E36C}, {"\xFB\xC0", 0x00E36D}, {"\xFB\xC1", 0x00E36E}, 
{"\xFB\xC2", 0x00E36F}, {"\xFB\xC3", 0x00E370}, {"\xFB\xC4", 0x00E371}, {"\xFB\xC5", 0x00E372}, 
{"\xFB\xC6", 0x00E373}, {"\xFB\xC7", 0x00E374}, {"\xFB\xC8", 0x00E375}, {"\xFB\xC9", 0x00E376}, 
{"\xFB\xCA", 0x00E377}, {"\xFB\xCB", 0x00E378}, {"\xFB\xCC", 0x00E379}, {"\xFB\xCD", 0x00E37A}, 
{"\xFB\xCE", 0x00E37B}, {"\xFB\xCF", 0x00E37C}, {"\xFB\xD0", 0x00E37D}, {"\xFB\xD1", 0x00E37E}, 
{"\xFB\xD2", 0x00E37F}, {"\xFB\xD3", 0x00E380}, {"\xFB\xD4", 0x00E381}, {"\xFB\xD5", 0x00E382}, 
{"\xFB\xD6", 0x00E383}, {"\xFB\xD7", 0x00E384}, {"\xFB\xD8", 0x00E385}, {"\xFB\xD9", 0x00E386}, 
{"\xFB\xDA", 0x00E387}, {"\xFB\xDB", 0x00E388}, {"\xFB\xDC", 0x00E389}, {"\xFB\xDD", 0x00E38A}, 
{"\xFB\xDE", 0x00E38B}, {"\xFB\xDF", 0x00E38C}, {"\xFB\xE0", 0x00E38D}, {"\xFB\xE1", 0x00E38E}, 
{"\xFB\xE2", 0x00E38F}, {"\xFB\xE3", 0x00E390}, {"\xFB\xE4", 0x00E391}, {"\xFB\xE5", 0x00E392}, 
{"\xFB\xE6", 0x00E393}, {"\xFB\xE7", 0x00E394}, {"\xFB\xE8", 0x00E395}, {"\xFB\xE9", 0x00E396}, 
{"\xFB\xEA", 0x00E397}, {"\xFB\xEB", 0x00E398}, {"\xFB\xEC", 0x00E399}, {"\xFB\xED", 0x00E39A}, 
{"\xFB\xEE", 0x00E39B}, {"\xFB\xEF", 0x00E39C}, {"\xFB\xF0", 0x00E39D}, {"\xFB\xF1", 0x00E39E}, 
{"\xFB\xF2", 0x00E39F}, {"\xFB\xF3", 0x00E3A0}, {"\xFB\xF4", 0x00E3A1}, {"\xFB\xF5", 0x00E3A2}, 
{"\xFB\xF6", 0x00E3A3}, {"\xFB\xF7", 0x00E3A4}, {"\xFB\xF8", 0x00E3A5}, {"\xFB\xF9", 0x00E3A6}, 
{"\xFB\xFA", 0x00E3A7}, {"\xFB\xFB", 0x00E3A8}, {"\xFB\xFC", 0x00E3A9}, {"\xFB\xFD", 0x00E3AA}, 
{"\xFB\xFE", 0x00E3AB}, {"\xFC\x40", 0x009EAB}, {"\xFC\x41", 0x009EAC}, {"\xFC\x42", 0x009EAD}, 
{"\xFC\x43", 0x009EAE}, {"\xFC\x44", 0x009EAF}, {"\xFC\x45", 0x009EB0}, {"\xFC\x46", 0x009EB1}, 
{"\xFC\x47", 0x009EB2}, {"\xFC\x48", 0x009EB3}, {"\xFC\x49", 0x009EB5}, {"\xFC\x4A", 0x009EB6}, 
{"\xFC\x4B", 0x009EB7}, {"\xFC\x4C", 0x009EB9}, {"\xFC\x4D", 0x009EBA}, {"\xFC\x4E", 0x009EBC}, 
{"\xFC\x4F", 0x009EBF}, {"\xFC\x50", 0x009EC0}, {"\xFC\x51", 0x009EC1}, {"\xFC\x52", 0x009EC2}, 
{"\xFC\x53", 0x009EC3}, {"\xFC\x54", 0x009EC5}, {"\xFC\x55", 0x009EC6}, {"\xFC\x56", 0x009EC7}, 
{"\xFC\x57", 0x009EC8}, {"\xFC\x58", 0x009ECA}, {"\xFC\x59", 0x009ECB}, {"\xFC\x5A", 0x009ECC}, 
{"\xFC\x5B", 0x009ED0}, {"\xFC\x5C", 0x009ED2}, {"\xFC\x5D", 0x009ED3}, {"\xFC\x5E", 0x009ED5}, 
{"\xFC\x5F", 0x009ED6}, {"\xFC\x60", 0x009ED7}, {"\xFC\x61", 0x009ED9}, {"\xFC\x62", 0x009EDA}, 
{"\xFC\x63", 0x009EDE}, {"\xFC\x64", 0x009EE1}, {"\xFC\x65", 0x009EE3}, {"\xFC\x66", 0x009EE4}, 
{"\xFC\x67", 0x009EE6}, {"\xFC\x68", 0x009EE8}, {"\xFC\x69", 0x009EEB}, {"\xFC\x6A", 0x009EEC}, 
{"\xFC\x6B", 0x009EED}, {"\xFC\x6C", 0x009EEE}, {"\xFC\x6D", 0x009EF0}, {"\xFC\x6E", 0x009EF1}, 
{"\xFC\x6F", 0x009EF2}, {"\xFC\x70", 0x009EF3}, {"\xFC\x71", 0x009EF4}, {"\xFC\x72", 0x009EF5}, 
{"\xFC\x73", 0x009EF6}, {"\xFC\x74", 0x009EF7}, {"\xFC\x75", 0x009EF8}, {"\xFC\x76", 0x009EFA}, 

};
 for(size_t i=1; i<sizeof(db2bmp_5b_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_5b_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_5c_gb18030_init()
{
static MB2UData db2bmp_5c_gb18030 [] = { {"", 0}, 
{"\xFC\x77", 0x009EFD}, {"\xFC\x78", 0x009EFF}, {"\xFC\x79", 0x009F00}, {"\xFC\x7A", 0x009F01}, 
{"\xFC\x7B", 0x009F02}, {"\xFC\x7C", 0x009F03}, {"\xFC\x7D", 0x009F04}, {"\xFC\x7E", 0x009F05}, 
{"\xFC\x80", 0x009F06}, {"\xFC\x81", 0x009F07}, {"\xFC\x82", 0x009F08}, {"\xFC\x83", 0x009F09}, 
{"\xFC\x84", 0x009F0A}, {"\xFC\x85", 0x009F0C}, {"\xFC\x86", 0x009F0F}, {"\xFC\x87", 0x009F11}, 
{"\xFC\x88", 0x009F12}, {"\xFC\x89", 0x009F14}, {"\xFC\x8A", 0x009F15}, {"\xFC\x8B", 0x009F16}, 
{"\xFC\x8C", 0x009F18}, {"\xFC\x8D", 0x009F1A}, {"\xFC\x8E", 0x009F1B}, {"\xFC\x8F", 0x009F1C}, 
{"\xFC\x90", 0x009F1D}, {"\xFC\x91", 0x009F1E}, {"\xFC\x92", 0x009F1F}, {"\xFC\x93", 0x009F21}, 
{"\xFC\x94", 0x009F23}, {"\xFC\x95", 0x009F24}, {"\xFC\x96", 0x009F25}, {"\xFC\x97", 0x009F26}, 
{"\xFC\x98", 0x009F27}, {"\xFC\x99", 0x009F28}, {"\xFC\x9A", 0x009F29}, {"\xFC\x9B", 0x009F2A}, 
{"\xFC\x9C", 0x009F2B}, {"\xFC\x9D", 0x009F2D}, {"\xFC\x9E", 0x009F2E}, {"\xFC\x9F", 0x009F30}, 
{"\xFC\xA0", 0x009F31}, {"\xFC\xA1", 0x00E3AC}, {"\xFC\xA2", 0x00E3AD}, {"\xFC\xA3", 0x00E3AE}, 
{"\xFC\xA4", 0x00E3AF}, {"\xFC\xA5", 0x00E3B0}, {"\xFC\xA6", 0x00E3B1}, {"\xFC\xA7", 0x00E3B2}, 
{"\xFC\xA8", 0x00E3B3}, {"\xFC\xA9", 0x00E3B4}, {"\xFC\xAA", 0x00E3B5}, {"\xFC\xAB", 0x00E3B6}, 
{"\xFC\xAC", 0x00E3B7}, {"\xFC\xAD", 0x00E3B8}, {"\xFC\xAE", 0x00E3B9}, {"\xFC\xAF", 0x00E3BA}, 
{"\xFC\xB0", 0x00E3BB}, {"\xFC\xB1", 0x00E3BC}, {"\xFC\xB2", 0x00E3BD}, {"\xFC\xB3", 0x00E3BE}, 
{"\xFC\xB4", 0x00E3BF}, {"\xFC\xB5", 0x00E3C0}, {"\xFC\xB6", 0x00E3C1}, {"\xFC\xB7", 0x00E3C2}, 
{"\xFC\xB8", 0x00E3C3}, {"\xFC\xB9", 0x00E3C4}, {"\xFC\xBA", 0x00E3C5}, {"\xFC\xBB", 0x00E3C6}, 
{"\xFC\xBC", 0x00E3C7}, {"\xFC\xBD", 0x00E3C8}, {"\xFC\xBE", 0x00E3C9}, {"\xFC\xBF", 0x00E3CA}, 
{"\xFC\xC0", 0x00E3CB}, {"\xFC\xC1", 0x00E3CC}, {"\xFC\xC2", 0x00E3CD}, {"\xFC\xC3", 0x00E3CE}, 
{"\xFC\xC4", 0x00E3CF}, {"\xFC\xC5", 0x00E3D0}, {"\xFC\xC6", 0x00E3D1}, {"\xFC\xC7", 0x00E3D2}, 
{"\xFC\xC8", 0x00E3D3}, {"\xFC\xC9", 0x00E3D4}, {"\xFC\xCA", 0x00E3D5}, {"\xFC\xCB", 0x00E3D6}, 
{"\xFC\xCC", 0x00E3D7}, {"\xFC\xCD", 0x00E3D8}, {"\xFC\xCE", 0x00E3D9}, {"\xFC\xCF", 0x00E3DA}, 
{"\xFC\xD0", 0x00E3DB}, {"\xFC\xD1", 0x00E3DC}, {"\xFC\xD2", 0x00E3DD}, {"\xFC\xD3", 0x00E3DE}, 
{"\xFC\xD4", 0x00E3DF}, {"\xFC\xD5", 0x00E3E0}, {"\xFC\xD6", 0x00E3E1}, {"\xFC\xD7", 0x00E3E2}, 
{"\xFC\xD8", 0x00E3E3}, {"\xFC\xD9", 0x00E3E4}, {"\xFC\xDA", 0x00E3E5}, {"\xFC\xDB", 0x00E3E6}, 
{"\xFC\xDC", 0x00E3E7}, {"\xFC\xDD", 0x00E3E8}, {"\xFC\xDE", 0x00E3E9}, {"\xFC\xDF", 0x00E3EA}, 
{"\xFC\xE0", 0x00E3EB}, {"\xFC\xE1", 0x00E3EC}, {"\xFC\xE2", 0x00E3ED}, {"\xFC\xE3", 0x00E3EE}, 
{"\xFC\xE4", 0x00E3EF}, {"\xFC\xE5", 0x00E3F0}, {"\xFC\xE6", 0x00E3F1}, {"\xFC\xE7", 0x00E3F2}, 
{"\xFC\xE8", 0x00E3F3}, {"\xFC\xE9", 0x00E3F4}, {"\xFC\xEA", 0x00E3F5}, {"\xFC\xEB", 0x00E3F6}, 
{"\xFC\xEC", 0x00E3F7}, {"\xFC\xED", 0x00E3F8}, {"\xFC\xEE", 0x00E3F9}, {"\xFC\xEF", 0x00E3FA}, 
{"\xFC\xF0", 0x00E3FB}, {"\xFC\xF1", 0x00E3FC}, {"\xFC\xF2", 0x00E3FD}, {"\xFC\xF3", 0x00E3FE}, 
{"\xFC\xF4", 0x00E3FF}, {"\xFC\xF5", 0x00E400}, {"\xFC\xF6", 0x00E401}, {"\xFC\xF7", 0x00E402}, 
{"\xFC\xF8", 0x00E403}, {"\xFC\xF9", 0x00E404}, {"\xFC\xFA", 0x00E405}, {"\xFC\xFB", 0x00E406}, 
{"\xFC\xFC", 0x00E407}, {"\xFC\xFD", 0x00E408}, {"\xFC\xFE", 0x00E409}, {"\xFD\x40", 0x009F32}, 
{"\xFD\x41", 0x009F33}, {"\xFD\x42", 0x009F34}, {"\xFD\x43", 0x009F35}, {"\xFD\x44", 0x009F36}, 
{"\xFD\x45", 0x009F38}, {"\xFD\x46", 0x009F3A}, {"\xFD\x47", 0x009F3C}, {"\xFD\x48", 0x009F3F}, 
{"\xFD\x49", 0x009F40}, {"\xFD\x4A", 0x009F41}, {"\xFD\x4B", 0x009F42}, {"\xFD\x4C", 0x009F43}, 
{"\xFD\x4D", 0x009F45}, {"\xFD\x4E", 0x009F46}, {"\xFD\x4F", 0x009F47}, {"\xFD\x50", 0x009F48}, 
{"\xFD\x51", 0x009F49}, {"\xFD\x52", 0x009F4A}, {"\xFD\x53", 0x009F4B}, {"\xFD\x54", 0x009F4C}, 
{"\xFD\x55", 0x009F4D}, {"\xFD\x56", 0x009F4E}, {"\xFD\x57", 0x009F4F}, {"\xFD\x58", 0x009F52}, 
{"\xFD\x59", 0x009F53}, {"\xFD\x5A", 0x009F54}, {"\xFD\x5B", 0x009F55}, {"\xFD\x5C", 0x009F56}, 
{"\xFD\x5D", 0x009F57}, {"\xFD\x5E", 0x009F58}, {"\xFD\x5F", 0x009F59}, {"\xFD\x60", 0x009F5A}, 
{"\xFD\x61", 0x009F5B}, {"\xFD\x62", 0x009F5C}, {"\xFD\x63", 0x009F5D}, {"\xFD\x64", 0x009F5E}, 
{"\xFD\x65", 0x009F5F}, {"\xFD\x66", 0x009F60}, {"\xFD\x67", 0x009F61}, {"\xFD\x68", 0x009F62}, 
{"\xFD\x69", 0x009F63}, {"\xFD\x6A", 0x009F64}, {"\xFD\x6B", 0x009F65}, {"\xFD\x6C", 0x009F66}, 
{"\xFD\x6D", 0x009F67}, {"\xFD\x6E", 0x009F68}, {"\xFD\x6F", 0x009F69}, {"\xFD\x70", 0x009F6A}, 
{"\xFD\x71", 0x009F6B}, {"\xFD\x72", 0x009F6C}, {"\xFD\x73", 0x009F6D}, {"\xFD\x74", 0x009F6E}, 
{"\xFD\x75", 0x009F6F}, {"\xFD\x76", 0x009F70}, {"\xFD\x77", 0x009F71}, {"\xFD\x78", 0x009F72}, 
{"\xFD\x79", 0x009F73}, {"\xFD\x7A", 0x009F74}, {"\xFD\x7B", 0x009F75}, {"\xFD\x7C", 0x009F76}, 
{"\xFD\x7D", 0x009F77}, {"\xFD\x7E", 0x009F78}, {"\xFD\x80", 0x009F79}, {"\xFD\x81", 0x009F7A}, 
{"\xFD\x82", 0x009F7B}, {"\xFD\x83", 0x009F7C}, {"\xFD\x84", 0x009F7D}, {"\xFD\x85", 0x009F7E}, 
{"\xFD\x86", 0x009F81}, {"\xFD\x87", 0x009F82}, {"\xFD\x88", 0x009F8D}, {"\xFD\x89", 0x009F8E}, 
{"\xFD\x8A", 0x009F8F}, {"\xFD\x8B", 0x009F90}, {"\xFD\x8C", 0x009F91}, {"\xFD\x8D", 0x009F92}, 
{"\xFD\x8E", 0x009F93}, {"\xFD\x8F", 0x009F94}, {"\xFD\x90", 0x009F95}, {"\xFD\x91", 0x009F96}, 
{"\xFD\x92", 0x009F97}, {"\xFD\x93", 0x009F98}, {"\xFD\x94", 0x009F9C}, {"\xFD\x95", 0x009F9D}, 
{"\xFD\x96", 0x009F9E}, {"\xFD\x97", 0x009FA1}, {"\xFD\x98", 0x009FA2}, {"\xFD\x99", 0x009FA3}, 
{"\xFD\x9A", 0x009FA4}, {"\xFD\x9B", 0x009FA5}, {"\xFD\x9C", 0x00F92C}, {"\xFD\x9D", 0x00F979}, 
{"\xFD\x9E", 0x00F995}, {"\xFD\x9F", 0x00F9E7}, {"\xFD\xA0", 0x00F9F1}, {"\xFD\xA1", 0x00E40A}, 
{"\xFD\xA2", 0x00E40B}, {"\xFD\xA3", 0x00E40C}, {"\xFD\xA4", 0x00E40D}, {"\xFD\xA5", 0x00E40E}, 
{"\xFD\xA6", 0x00E40F}, {"\xFD\xA7", 0x00E410}, {"\xFD\xA8", 0x00E411}, {"\xFD\xA9", 0x00E412}, 
{"\xFD\xAA", 0x00E413}, {"\xFD\xAB", 0x00E414}, {"\xFD\xAC", 0x00E415}, {"\xFD\xAD", 0x00E416}, 
{"\xFD\xAE", 0x00E417}, {"\xFD\xAF", 0x00E418}, {"\xFD\xB0", 0x00E419}, {"\xFD\xB1", 0x00E41A}, 
{"\xFD\xB2", 0x00E41B}, {"\xFD\xB3", 0x00E41C}, {"\xFD\xB4", 0x00E41D}, {"\xFD\xB5", 0x00E41E}, 
{"\xFD\xB6", 0x00E41F}, {"\xFD\xB7", 0x00E420}, {"\xFD\xB8", 0x00E421}, {"\xFD\xB9", 0x00E422}, 

};
 for(size_t i=1; i<sizeof(db2bmp_5c_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_5c_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_5d_gb18030_init()
{
static MB2UData db2bmp_5d_gb18030 [] = { {"", 0}, 
{"\xFD\xBA", 0x00E423}, {"\xFD\xBB", 0x00E424}, {"\xFD\xBC", 0x00E425}, {"\xFD\xBD", 0x00E426}, 
{"\xFD\xBE", 0x00E427}, {"\xFD\xBF", 0x00E428}, {"\xFD\xC0", 0x00E429}, {"\xFD\xC1", 0x00E42A}, 
{"\xFD\xC2", 0x00E42B}, {"\xFD\xC3", 0x00E42C}, {"\xFD\xC4", 0x00E42D}, {"\xFD\xC5", 0x00E42E}, 
{"\xFD\xC6", 0x00E42F}, {"\xFD\xC7", 0x00E430}, {"\xFD\xC8", 0x00E431}, {"\xFD\xC9", 0x00E432}, 
{"\xFD\xCA", 0x00E433}, {"\xFD\xCB", 0x00E434}, {"\xFD\xCC", 0x00E435}, {"\xFD\xCD", 0x00E436}, 
{"\xFD\xCE", 0x00E437}, {"\xFD\xCF", 0x00E438}, {"\xFD\xD0", 0x00E439}, {"\xFD\xD1", 0x00E43A}, 
{"\xFD\xD2", 0x00E43B}, {"\xFD\xD3", 0x00E43C}, {"\xFD\xD4", 0x00E43D}, {"\xFD\xD5", 0x00E43E}, 
{"\xFD\xD6", 0x00E43F}, {"\xFD\xD7", 0x00E440}, {"\xFD\xD8", 0x00E441}, {"\xFD\xD9", 0x00E442}, 
{"\xFD\xDA", 0x00E443}, {"\xFD\xDB", 0x00E444}, {"\xFD\xDC", 0x00E445}, {"\xFD\xDD", 0x00E446}, 
{"\xFD\xDE", 0x00E447}, {"\xFD\xDF", 0x00E448}, {"\xFD\xE0", 0x00E449}, {"\xFD\xE1", 0x00E44A}, 
{"\xFD\xE2", 0x00E44B}, {"\xFD\xE3", 0x00E44C}, {"\xFD\xE4", 0x00E44D}, {"\xFD\xE5", 0x00E44E}, 
{"\xFD\xE6", 0x00E44F}, {"\xFD\xE7", 0x00E450}, {"\xFD\xE8", 0x00E451}, {"\xFD\xE9", 0x00E452}, 
{"\xFD\xEA", 0x00E453}, {"\xFD\xEB", 0x00E454}, {"\xFD\xEC", 0x00E455}, {"\xFD\xED", 0x00E456}, 
{"\xFD\xEE", 0x00E457}, {"\xFD\xEF", 0x00E458}, {"\xFD\xF0", 0x00E459}, {"\xFD\xF1", 0x00E45A}, 
{"\xFD\xF2", 0x00E45B}, {"\xFD\xF3", 0x00E45C}, {"\xFD\xF4", 0x00E45D}, {"\xFD\xF5", 0x00E45E}, 
{"\xFD\xF6", 0x00E45F}, {"\xFD\xF7", 0x00E460}, {"\xFD\xF8", 0x00E461}, {"\xFD\xF9", 0x00E462}, 
{"\xFD\xFA", 0x00E463}, {"\xFD\xFB", 0x00E464}, {"\xFD\xFC", 0x00E465}, {"\xFD\xFD", 0x00E466}, 
{"\xFD\xFE", 0x00E467}, {"\xFE\x40", 0x00FA0C}, {"\xFE\x41", 0x00FA0D}, {"\xFE\x42", 0x00FA0E}, 
{"\xFE\x43", 0x00FA0F}, {"\xFE\x44", 0x00FA11}, {"\xFE\x45", 0x00FA13}, {"\xFE\x46", 0x00FA14}, 
{"\xFE\x47", 0x00FA18}, {"\xFE\x48", 0x00FA1F}, {"\xFE\x49", 0x00FA20}, {"\xFE\x4A", 0x00FA21}, 
{"\xFE\x4B", 0x00FA23}, {"\xFE\x4C", 0x00FA24}, {"\xFE\x4D", 0x00FA27}, {"\xFE\x4E", 0x00FA28}, 
{"\xFE\x4F", 0x00FA29}, {"\xFE\x50", 0x002E81}, {"\xFE\x51", 0x00E816}, {"\xFE\x52", 0x00E817}, 
{"\xFE\x53", 0x00E818}, {"\xFE\x54", 0x002E84}, {"\xFE\x55", 0x003473}, {"\xFE\x56", 0x003447}, 
{"\xFE\x57", 0x002E88}, {"\xFE\x58", 0x002E8B}, {"\xFE\x59", 0x009FB4}, {"\xFE\x5A", 0x00359E}, 
{"\xFE\x5B", 0x00361A}, {"\xFE\x5C", 0x00360E}, {"\xFE\x5D", 0x002E8C}, {"\xFE\x5E", 0x002E97}, 
{"\xFE\x5F", 0x00396E}, {"\xFE\x60", 0x003918}, {"\xFE\x61", 0x009FB5}, {"\xFE\x62", 0x0039CF}, 
{"\xFE\x63", 0x0039DF}, {"\xFE\x64", 0x003A73}, {"\xFE\x65", 0x0039D0}, {"\xFE\x66", 0x009FB6}, 
{"\xFE\x67", 0x009FB7}, {"\xFE\x68", 0x003B4E}, {"\xFE\x69", 0x003C6E}, {"\xFE\x6A", 0x003CE0}, 
{"\xFE\x6B", 0x002EA7}, {"\xFE\x6C", 0x00E831}, {"\xFE\x6D", 0x009FB8}, {"\xFE\x6E", 0x002EAA}, 
{"\xFE\x6F", 0x004056}, {"\xFE\x70", 0x00415F}, {"\xFE\x71", 0x002EAE}, {"\xFE\x72", 0x004337}, 
{"\xFE\x73", 0x002EB3}, {"\xFE\x74", 0x002EB6}, {"\xFE\x75", 0x002EB7}, {"\xFE\x76", 0x00E83B}, 
{"\xFE\x77", 0x0043B1}, {"\xFE\x78", 0x0043AC}, {"\xFE\x79", 0x002EBB}, {"\xFE\x7A", 0x0043DD}, 
{"\xFE\x7B", 0x0044D6}, {"\xFE\x7C", 0x004661}, {"\xFE\x7D", 0x00464C}, {"\xFE\x7E", 0x009FB9}, 
{"\xFE\x80", 0x004723}, {"\xFE\x81", 0x004729}, {"\xFE\x82", 0x00477C}, {"\xFE\x83", 0x00478D}, 
{"\xFE\x84", 0x002ECA}, {"\xFE\x85", 0x004947}, {"\xFE\x86", 0x00497A}, {"\xFE\x87", 0x00497D}, 
{"\xFE\x88", 0x004982}, {"\xFE\x89", 0x004983}, {"\xFE\x8A", 0x004985}, {"\xFE\x8B", 0x004986}, 
{"\xFE\x8C", 0x00499F}, {"\xFE\x8D", 0x00499B}, {"\xFE\x8E", 0x0049B7}, {"\xFE\x8F", 0x0049B6}, 
{"\xFE\x90", 0x009FBA}, {"\xFE\x91", 0x00E855}, {"\xFE\x92", 0x004CA3}, {"\xFE\x93", 0x004C9F}, 
{"\xFE\x94", 0x004CA0}, {"\xFE\x95", 0x004CA1}, {"\xFE\x96", 0x004C77}, {"\xFE\x97", 0x004CA2}, 
{"\xFE\x98", 0x004D13}, {"\xFE\x99", 0x004D14}, {"\xFE\x9A", 0x004D15}, {"\xFE\x9B", 0x004D16}, 
{"\xFE\x9C", 0x004D17}, {"\xFE\x9D", 0x004D18}, {"\xFE\x9E", 0x004D19}, {"\xFE\x9F", 0x004DAE}, 
{"\xFE\xA0", 0x009FBB}, {"\xFE\xA1", 0x00E468}, {"\xFE\xA2", 0x00E469}, {"\xFE\xA3", 0x00E46A}, 
{"\xFE\xA4", 0x00E46B}, {"\xFE\xA5", 0x00E46C}, {"\xFE\xA6", 0x00E46D}, {"\xFE\xA7", 0x00E46E}, 
{"\xFE\xA8", 0x00E46F}, {"\xFE\xA9", 0x00E470}, {"\xFE\xAA", 0x00E471}, {"\xFE\xAB", 0x00E472}, 
{"\xFE\xAC", 0x00E473}, {"\xFE\xAD", 0x00E474}, {"\xFE\xAE", 0x00E475}, {"\xFE\xAF", 0x00E476}, 
{"\xFE\xB0", 0x00E477}, {"\xFE\xB1", 0x00E478}, {"\xFE\xB2", 0x00E479}, {"\xFE\xB3", 0x00E47A}, 
{"\xFE\xB4", 0x00E47B}, {"\xFE\xB5", 0x00E47C}, {"\xFE\xB6", 0x00E47D}, {"\xFE\xB7", 0x00E47E}, 
{"\xFE\xB8", 0x00E47F}, {"\xFE\xB9", 0x00E480}, {"\xFE\xBA", 0x00E481}, {"\xFE\xBB", 0x00E482}, 
{"\xFE\xBC", 0x00E483}, {"\xFE\xBD", 0x00E484}, {"\xFE\xBE", 0x00E485}, {"\xFE\xBF", 0x00E486}, 
{"\xFE\xC0", 0x00E487}, {"\xFE\xC1", 0x00E488}, {"\xFE\xC2", 0x00E489}, {"\xFE\xC3", 0x00E48A}, 
{"\xFE\xC4", 0x00E48B}, {"\xFE\xC5", 0x00E48C}, {"\xFE\xC6", 0x00E48D}, {"\xFE\xC7", 0x00E48E}, 
{"\xFE\xC8", 0x00E48F}, {"\xFE\xC9", 0x00E490}, {"\xFE\xCA", 0x00E491}, {"\xFE\xCB", 0x00E492}, 
{"\xFE\xCC", 0x00E493}, {"\xFE\xCD", 0x00E494}, {"\xFE\xCE", 0x00E495}, {"\xFE\xCF", 0x00E496}, 
{"\xFE\xD0", 0x00E497}, {"\xFE\xD1", 0x00E498}, {"\xFE\xD2", 0x00E499}, {"\xFE\xD3", 0x00E49A}, 
{"\xFE\xD4", 0x00E49B}, {"\xFE\xD5", 0x00E49C}, {"\xFE\xD6", 0x00E49D}, {"\xFE\xD7", 0x00E49E}, 
{"\xFE\xD8", 0x00E49F}, {"\xFE\xD9", 0x00E4A0}, {"\xFE\xDA", 0x00E4A1}, {"\xFE\xDB", 0x00E4A2}, 
{"\xFE\xDC", 0x00E4A3}, {"\xFE\xDD", 0x00E4A4}, {"\xFE\xDE", 0x00E4A5}, {"\xFE\xDF", 0x00E4A6}, 
{"\xFE\xE0", 0x00E4A7}, {"\xFE\xE1", 0x00E4A8}, {"\xFE\xE2", 0x00E4A9}, {"\xFE\xE3", 0x00E4AA}, 
{"\xFE\xE4", 0x00E4AB}, {"\xFE\xE5", 0x00E4AC}, {"\xFE\xE6", 0x00E4AD}, {"\xFE\xE7", 0x00E4AE}, 
{"\xFE\xE8", 0x00E4AF}, {"\xFE\xE9", 0x00E4B0}, {"\xFE\xEA", 0x00E4B1}, {"\xFE\xEB", 0x00E4B2}, 
{"\xFE\xEC", 0x00E4B3}, {"\xFE\xED", 0x00E4B4}, {"\xFE\xEE", 0x00E4B5}, {"\xFE\xEF", 0x00E4B6}, 
{"\xFE\xF0", 0x00E4B7}, {"\xFE\xF1", 0x00E4B8}, {"\xFE\xF2", 0x00E4B9}, {"\xFE\xF3", 0x00E4BA}, 
{"\xFE\xF4", 0x00E4BB}, {"\xFE\xF5", 0x00E4BC}, {"\xFE\xF6", 0x00E4BD}, {"\xFE\xF7", 0x00E4BE}, 
{"\xFE\xF8", 0x00E4BF}, {"\xFE\xF9", 0x00E4C0}, {"\xFE\xFA", 0x00E4C1}, {"\xFE\xFB", 0x00E4C2}, 

};
 for(size_t i=1; i<sizeof(db2bmp_5d_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_5d_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_5e_gb18030_init()
{
static MB2UData db2bmp_5e_gb18030 [] = { {"", 0}, 
{"\xFE\xFC", 0x00E4C3}, {"\xFE\xFD", 0x00E4C4}, {"\xFE\xFE", 0x00E4C5}, 
};
 for(size_t i=1; i<sizeof(db2bmp_5e_gb18030)/sizeof(MB2UData); ++i)
 {
	MB2UData& data = db2bmp_5e_gb18030[i];
	mb2u[enc_gb18030][data.mbs] = data.u;
 }
}

void db2bmp_gb18030_init()
{
db2bmp_00_gb18030_init();db2bmp_01_gb18030_init();db2bmp_02_gb18030_init();db2bmp_03_gb18030_init();
db2bmp_04_gb18030_init();db2bmp_05_gb18030_init();db2bmp_06_gb18030_init();db2bmp_07_gb18030_init();
db2bmp_08_gb18030_init();db2bmp_09_gb18030_init();db2bmp_0a_gb18030_init();db2bmp_0b_gb18030_init();
db2bmp_0c_gb18030_init();db2bmp_0d_gb18030_init();db2bmp_0e_gb18030_init();db2bmp_0f_gb18030_init();
db2bmp_10_gb18030_init();db2bmp_11_gb18030_init();db2bmp_12_gb18030_init();db2bmp_13_gb18030_init();
db2bmp_14_gb18030_init();db2bmp_15_gb18030_init();db2bmp_16_gb18030_init();db2bmp_17_gb18030_init();
db2bmp_18_gb18030_init();db2bmp_19_gb18030_init();db2bmp_1a_gb18030_init();db2bmp_1b_gb18030_init();
db2bmp_1c_gb18030_init();db2bmp_1d_gb18030_init();db2bmp_1e_gb18030_init();db2bmp_1f_gb18030_init();
db2bmp_20_gb18030_init();db2bmp_21_gb18030_init();db2bmp_22_gb18030_init();db2bmp_23_gb18030_init();
db2bmp_24_gb18030_init();db2bmp_25_gb18030_init();db2bmp_26_gb18030_init();db2bmp_27_gb18030_init();
db2bmp_28_gb18030_init();db2bmp_29_gb18030_init();db2bmp_2a_gb18030_init();db2bmp_2b_gb18030_init();
db2bmp_2c_gb18030_init();db2bmp_2d_gb18030_init();db2bmp_2e_gb18030_init();db2bmp_2f_gb18030_init();
db2bmp_30_gb18030_init();db2bmp_31_gb18030_init();db2bmp_32_gb18030_init();db2bmp_33_gb18030_init();
db2bmp_34_gb18030_init();db2bmp_35_gb18030_init();db2bmp_36_gb18030_init();db2bmp_37_gb18030_init();
db2bmp_38_gb18030_init();db2bmp_39_gb18030_init();db2bmp_3a_gb18030_init();db2bmp_3b_gb18030_init();
db2bmp_3c_gb18030_init();db2bmp_3d_gb18030_init();db2bmp_3e_gb18030_init();db2bmp_3f_gb18030_init();
db2bmp_40_gb18030_init();db2bmp_41_gb18030_init();db2bmp_42_gb18030_init();db2bmp_43_gb18030_init();
db2bmp_44_gb18030_init();db2bmp_45_gb18030_init();db2bmp_46_gb18030_init();db2bmp_47_gb18030_init();
db2bmp_48_gb18030_init();db2bmp_49_gb18030_init();db2bmp_4a_gb18030_init();db2bmp_4b_gb18030_init();
db2bmp_4c_gb18030_init();db2bmp_4d_gb18030_init();db2bmp_4e_gb18030_init();db2bmp_4f_gb18030_init();
db2bmp_50_gb18030_init();db2bmp_51_gb18030_init();db2bmp_52_gb18030_init();db2bmp_53_gb18030_init();
db2bmp_54_gb18030_init();db2bmp_55_gb18030_init();db2bmp_56_gb18030_init();db2bmp_57_gb18030_init();
db2bmp_58_gb18030_init();db2bmp_59_gb18030_init();db2bmp_5a_gb18030_init();db2bmp_5b_gb18030_init();
db2bmp_5c_gb18030_init();db2bmp_5d_gb18030_init();db2bmp_5e_gb18030_init();
}

